Moving directories between filesystems.

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

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

Content Protected Using Blog Protector By: PcDrome. & GeekyCube.