Re: [CentOS] Deleting Files

2012-06-20 Thread Thomas Johansson
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

Re: [CentOS] Deleting Files

2012-06-19 Thread Diego Sanchez
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

Re: [CentOS] Deleting Files

2012-06-19 Thread Matt
>> 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

Re: [CentOS] Deleting Files

2012-06-18 Thread Stephen Harris
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

Re: [CentOS] Deleting Files

2012-06-18 Thread Frank Cox
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

[CentOS] Deleting Files

2012-06-18 Thread Matt
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

Re: [CentOS] Deleting files from dump?

2007-11-29 Thread Kenneth Porter
--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

[CentOS] Deleting files from dump?

2007-11-29 Thread Scott Ehrlich
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