Hledani souboru pomoci "find"

Jan ' Kozo ' Vajda jvajda na somi.sk
Úterý Leden 29 14:07:41 CET 2002


:> $ find -type f -ctime -5 -print0 | xargs -0 tar czvf ./test/archiv.tgz
:> 
:> 
:> Toto funguje uspokojive, ALE !
:> 
:> Potreboval bych vynechavat soubory, ktere jsou v adresarich ./*/temp/*
:> ./*/temp1/* apod.

vystrel od pasa:

tar a jeho exclude:

       --exclude FILE
              exclude file FILE

       -X, --exclude-from FILE
              exclude files listed in FILE

aj ked neviem, ci to moze obsahovat regularne vyrazy ..


		                                   K O Z O 
                		    ===================================
                                      Look At Your Young Man Fighting
                                         Look At Your Woman Crying
                                       Look At Your Young Man Dying
                                    The Way They've Always Done Before



Další informace o konferenci Linux