[svlug] Mass copying
bill at billjonas.com
Sun Mar 18 00:46:01 PST 2001
On Sat, Mar 17, 2001 at 11:50:27AM -0800, Aaron Lehmann wrote:
> "(cd olddirectory ; 'tar Sczpf - ) | (cd newdirectory ; tar Sxvzpf -"
You ought to replace the semicolons with double ampersands. With
ampersands, if parts of it blow up (especially the cd commands, for
whatever reason), you're much less likely to hose your directory
structure. (Especially with the second grouping of commands.)
Bill Jonas | "In contrast to the What You See Is What You
bill at billjonas.com | Get (WYSIWYG) philosophy, UNIX is the You
http://www.billjonas.com/ | Asked For It, You Got It operating system."
http://www.debian.org/ | --Scott Lee, as quoted by Lamb and Robbins
More information about the svlug