Re: [orca-list] (Slightly) O.T.: removing backup files.
- From: Mike Gorse <mgorse mgorse dhs org>
- To: orca-list gnome org
- Subject: Re: [orca-list] (Slightly) O.T.: removing backup files.
- Date: Thu, 27 Dec 2007 17:19:52 -0500 (EST)
Rm -r will recurse, but it will take its arguments and remove each file or
directory specified. Ie, typing "rm -r *bak" would cause ths ehll to
expand *bak, and rm would remove all files and directories in the current
directory with names ending in "bak". It would not descend into other
directories and only remove files with names having that ending. You'd
need to use find if you want to do this and recurse to an arbitrary depth.
-- Mike Gorse / AIM:linvortex / http://mgorse.freeshell.org --
On Thu, 27 Dec 2007, Kenny Hitt wrote:
Hi. I have always used the -r option to rm to tell it to recurse subdirs.
Just wondering if I'm missing something? Help from typing rm --help agrees with me.
Orca-list mailing list
Orca-list gnome org
Visit http://live.gnome.org/Orca for more information on Orca
] [Thread Prev