find directory1 directory2 directory3 -type d -exec cp filename {} \;
what this command does:
First, I use the find command, and I tell it to
1. look in four sub-directories (directory1, directory2, directory3 and directory4).
2. I tell it to find only directories (-type d).
No comments:
Post a Comment