I have a million images totally 30gb of disk space that need to move from one local directory to another local directory.
What will be the most efficient way? mv? cp? rsync? Something else? Tips?
/path/to/old-img-dir/*
00000000.jpg
--------.jpg ## nearly 1M of them! ##
ZZZZZZZZ.jpg
Move them to here:
/path/to/new/img/dir/
mv, performance-wise, if both the source and target directories reside in the same filesystem. – Frédéric Hamidi Oct 16 '12 at 6:57