Search results

  1. L

    What is the best method in bash to copy large amount of files

    My question: I have a large amount of files on a disk and I have three different methods to move/copy them: 1. using find: ``` find /disk -xdev -type f -iname "*.pdf" -exec cp -ga "{}" /dest \: ``` 2. using find print0 and grep -z: ``` find /disk -xdev type f -iname "*" -print0 > ./alllist.txt...
Top