Date: Mon, 26 Jan 2009 22:14:32 -0600
From: Chris St. Pierre <[email protected]>
Reply-To: Eugene Unix and Gnu/Linux User Group <[email protected]>
To: [email protected],
    Eugene Unix and Gnu/Linux User Group <[email protected]>
Subject: Re: [Eug-lug] ls script help
...>

# remove files created within the past seven days
find . -ctime -7 | xargs rm
find . -ctime -7 -exec rm \{} ; # my least favorite way
...

Depending on what you are trying to do you may want to specify file type
 e.g ' -type f '
as you can't 'rm directory' and may not want to use 'rm -fr' .

Hal expanded on the -type option in his online doc.

BTW, Hal, the .pdf does not seem to be searchable for text strings.
The file is all hex -- what have you done ???
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to