Copy Entire FileSystems

To copy an entire file system or directory structure to another filesystem or directory structure.

Use the find command along with the cpio -p (passthru) option. The command would be

# find . -depth -print | cpio -pmdvl newdir

newdir must already exist.

Have a Unix Problem
Do you have a UNIX Question?

Unix Books :-
UNIX Programming, Certification, System Administration, Performance Tuning Reference Books

Return to : - Unix System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.