On 2012-06-20 02:11, Diego Sanchez wrote:
> find /whe/re -mtime +2 -exec echo {} \;
>
> If you get "Argument list too long" error, you can use
>
> find . -name "*" -print | xargs rm
>
Be very careful using that line!
If you have files or directories with whitespace or other special items
in the
find /whe/re -mtime +2 -exec echo {} \;
If you get "Argument list too long" error, you can use
find . -name "*" -print | xargs rm
--
Diego - Yo no soy paranoico! (pero que me siguen, me siguen)
___
CentOS mailing list
CentOS@centos.org
http://lists.ce
>> I want to safely delete all files in a certain directory that are
>> exactly 32 characters long. This is on CentOS 5.x. How would I do
>> that?
>
> Let me guess; homework... 'cos this sure ain't a CentOS question!
No, cluttered directory.
___
CentO
On Mon, Jun 18, 2012 at 05:12:34PM -0500, Matt wrote:
> I want to safely delete all files in a certain directory that are
> exactly 32 characters long. This is on CentOS 5.x. How would I do
> that?
Let me guess; homework... 'cos this sure ain't a CentOS question!
--
rgds
Stephen
On Mon, 18 Jun 2012 17:12:34 -0500
Matt wrote:
> I want to safely delete all files in a certain directory that are
> exactly 32 characters long. This is on CentOS 5.x. How would I do
> that?
rm -i
--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvillet
I want to safely delete all files in a certain directory that are
exactly 32 characters long. This is on CentOS 5.x. How would I do
that?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
--On Thursday, November 29, 2007 8:50 AM -0500 Scott Ehrlich
<[EMAIL PROTECTED]> wrote:
Is it possible to delete a file from dump? I saved it in one dump
archive, and want to save space by deleting it from the others.
You'd need to write a new dump file, as it models a physical tape, and
r
Is it possible to delete a file from dump? I saved it in one dump archive,
and want to save space by deleting it from the others.
Thanks.
Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
8 matches
Mail list logo