[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find command
Hi All
find /var/log/radius/ -path '/proc*' -prune -o -newer /etc/raddb/03.tmp
-exec tar cv {} -f /backup/rs.tar \;
03.tmp is Mar 31 23:59
i want to to tar all newer or changed file into the file rs.tar but it
start to tar all the files.
find /var/log/radius/ -path '/proc*' -prune -o -newer /etc/raddb/03.tmp
-exec du -h {} \; this works just find
--
--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-6-6925757
Fax: 972-6-6925858
http://www.canaan.co.il
--------------------------