Moving large amounts of data between drives
Indu gave me this great tip on copying lots of data between drives.
find . -type f -print | cpio -pduv --preserve-modification-time _destination_path_
where, _destination_path_ is a directory where the current filesystem tree will be copied
This works by printing all the files to stdout and then cpio parses them and puts them back as files. This was easily three times faster than using cp -r
Indu gave me this great tip on copying lots of data between drives.
find . -type f -print | cpio -pduv --preserve-modification-time _destination_path_
where, _destination_path_ is a directory where the current filesystem tree will be copied
This works by printing all the files to stdout and then cpio parses them and puts them back as files. This was easily three times faster than using cp -r