Search
Login / Signup
Who's On?
We have 1 guest online
Donate

Thank you for your donation.



Duplicating a whole filesystem with tar

General

Ever wanted to copy your entire filesystem into another including all the links and permissions?

Say we have a filesystem in /filesystem.

We wanna duplicate that filesystem to a new filesystem in /destination.

cs /filesystem

tar -cf - . |(cd /destination ; tar -xpvf - )

 

Enjoy!

 

The Swamp! Is an IT Knowledgebase & Technical Support resource, consisting of Technical Support articles and a large IT Knowledgebase for free Access