Moving directories between filesystems.Quick way to move an entire tree of files from one disk to another 

(cd /source/directory && tar cf – . ) | (cd /dest/directory && tar xvfp -)

[ Change from cd /source/directory; tar….etc. to prevent possibility of trashing directory in case of disaster.]

Comments

comments

Powered by Facebook Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.