Moving directories between filesystems

by Sanju 2009-12-29 23:41:30

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.



Tagged in:

930
like
0
dislike
0
mail
flag

You must LOGIN to add comments