Tagged Questions
0
votes
2answers
177 views
xargs and cp: find-style “{}+” multiple expansion?
I'd like to copy a group of files to destination folder. But without needing to spawn a new instance of cp for each operation.
The arg format for cp seems to be:
cp src_file1 src_file2 src_file3 ...
1
vote
1answer
482 views
Using a Linux/Unix terminal to copy many files to a new location
I'm trying to use the a Linux terminal to copy many files to a new location. I tired the command:
sudo locate -i *file_I_want* | xargs cp $1 /place_I_want_everything_copied_to/
Which, gives an ...
3
votes
3answers
4k views
How do I use find to copy all found files to a new name in their same directories?
I've got a simple command that does almost what I want. The following will locate all files with a suffix of '_compressed.swf' and copy each into its same directory with a '.bak2' appended:
find ...