[Users] Cloning and permissions

Gregor Mosheh gregor at hostgis.com
Mon Dec 17 20:14:20 EST 2007


Steve Wray wrote:
>> tar cf - * | ( cd ../2 ; tar xvf - )
> That doesn't need a -p option? ie
> I tend to use 'tar --numeric-owner -cf' as well, just in case.

I've never used the -p flag but it's always preserved the numerics just 
fine. That's Slackware and Fedora, probably others. Couldn't hurt to use 
it, though.

-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA


More information about the Users mailing list