Copy Long List of Files in Unix
Need to copy over a large directory (in terms of the number of files) in unix and get the error “Argument List to Long”. Here is how to do it:
find /source/directory -type f -exec cp -r {} /destination/directory \;
Need to copy over a large directory (in terms of the number of files) in unix and get the error “Argument List to Long”. Here is how to do it:
find /source/directory -type f -exec cp -r {} /destination/directory \;