Powered by Drupal

Simple Command To Copy Filesystems

This will copy a file system from the "/source/dir" to the "/destination/dir".

Note: The source directory can also be / and it will copy correctly.

cd /source/dir
tar -cf - . | ( cd /destination/dir ; tar -xpvf - )
Category: