Tagged Questions
1
vote
2answers
296 views
faster alternative to cp -a
For a simple transfer of /home to another disk i use cp -a that seems to me an extremely slow way. Should like know a more efficient way to complete the task. I have /home mounted as logical volume, ...
2
votes
3answers
77 views
How to copy a list of files and adjust destination filenames on the fly?
When I don't need to adjust destination filenames I can do something like this:
$ find -type f -name '*.pat' -print0 | xargs -O cp -t /path/to/dest
It is safe because the filenames may even ...
1
vote
1answer
72 views
Will files created under source directory after running `cp` be copied?
Suppose I use cp to copy a directory to another place. If the process takes long, and I create a new file under the source directory, will it be copied, or it depends? Thanks!