[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] the owner of the files in /var/spool/news



On Sun, May 07, 2000 at 12:27:46PM +0200, Matthias Andree wrote:
> Alternatively, try find and cpio (info cpio shows a lot of examples if
> you have GNU info and GNU cpio and GNU find installed) or tar:
> 
> ( cd /source/dir && tar -cplf - .) | ( cd /target/dir && tar -xpvf . )

cd /source/dir ; find . -depth -print | cpio -pdm /target/dir


Is MUCH faster than the equivalent in tar, btw.  (Use -pdmv if you want
visual output, personally I always find it annoying.)

mrc
-- 
       Mike Castle       Life is like a clock:  You can work constantly
  dalgoda@xxxxxxxxxxxxx  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list