Date: Mon, 26 Jan 2009 22:14:32 -0600
From: Chris St. Pierre <chris.a.st.pie...@gmail.com>
Reply-To: Eugene Unix and Gnu/Linux User Group <euglug@euglug.org>
To: notanathe...@yahoo.com,
    Eugene Unix and Gnu/Linux User Group <euglug@euglug.org>
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
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to