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.]



Powered by Facebook Comments

Leave a Reply

Your email address will not be published.

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