Article View: pl.comp.os.unix
Article #26546Re: kasowanie plików w katalogu wg daty
From: freshman
Date: Mon, 16 Jul 2007 09:33
Date: Mon, 16 Jul 2007 09:33
25 lines
1581 bytes
1581 bytes
irek@mud.pl napisał(a): > > > freshman wrote: > > Witam, > > mam problem - chcę usunąć pliki w danym katalogu wg kryterium modyfikacji > > plików. Problem polega na tym, że kataog ma strukturę drzewiasta (zawiera > > inne podkatalogi), a ja chcę usunać TYLKO pliki w katalogu głównym, te które > > są poniżej NIE. > > > no to jak freshman to > man find > wyświetliłem man find i.. -depth nie przyjmuje parametrów, więc wykorzystanie tej opcji jest bez sensu. Jedyne co wydaje mi się uzytyczne to -prune, ale nie wiem dokładnie jak to zastosować - nie rozumiem opisu tej opcji wg mnie jest nieprezyzyjna... -- Wysłano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Technical Details
Message-ID:
<f7fe1u$n65$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<f75c3n$oti$1@inews.gazeta.pl> <f75mbo$39m$1@nemesis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: " freshman" <rf_eng@NOSPAM.gazeta.pl> Newsgroups: pl.comp.os.unix Subject: Re: kasowanie plików w katalogu wg daty Date: Mon, 16 Jul 2007 09:33:50 +0000 (UTC) Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 25 Message-ID: <f7fe1u$n65$1@inews.gazeta.pl> References: <f75c3n$oti$1@inews.gazeta.pl> <f75mbo$39m$1@nemesis.news.tpi.pl> NNTP-Posting-Host: ptkbm.centertel.pl X-Trace: inews.gazeta.pl 1184578430 23749 172.20.26.233 (16 Jul 2007 09:33:50 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Mon, 16 Jul 2007 09:33:50 +0000 (UTC) X-User: rf_eng X-Forwarded-For: 172.20.6.62 X-Remote-IP: ptkbm.centertel.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit