[PLUG] Commands you don't want to try

Sean Whitney sean_whitney at bigfoot.com
Sun Jun 9 21:48:29 PDT 2002


I know that I would try

tar cf - /| ( cd /disk2 && tar xvpf -)

Which should prevent you from trying to overwrite your files if you 
fat-finger the directory.  What else am I missing?


Sean

On Sunday 09 June 2002 19:28, you hammered at the keyboard:
> Since we're on the discussion of 'rm -rf'. I'll add my command that you
> don't want to try:
>
> tar cf - / | (cd /disk2; tar xvpf - )
>
> Anyone guess what this does incorrectly?
>
>
> Mark
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
<Culus> And don't get me started on perl!
<Culus> :>
<shaleh> perl is beyond evil
<jim> you don't know perl yet?
<netgod> gotta love a language with no definable syntax




More information about the PLUG mailing list