Re: HOWTO remove a previous wildcard file list?

2001-04-24 Thread will trillich
On Mon, Apr 23, 2001 at 06:40:01PM -0600, John Galt wrote: On Sun, 22 Apr 2001, Mark Hurley wrote: I *sometimes* list the files before deleting them: ls A*.pdf Ensuring I have only listed the ones I wish to delete, I then enter: rm A*.pdf Great, but anyone know of an easier

Re: HOWTO remove a previous wildcard file list?

2001-04-23 Thread Karsten M. Self
on Sun, Apr 22, 2001 at 11:26:36PM -0400, Walt Mankowski ([EMAIL PROTECTED]) wrote: On Sun, Apr 22, 2001 at 11:09:23PM -0400, Mark Hurley wrote: Thank you Walt! You're welcome. :-) I can't believe I didn't find that! In case anyone else wants to view more info on history expansion

Re: HOWTO remove a previous wildcard file list?

2001-04-23 Thread Colin Watson
Mark Hurley [EMAIL PROTECTED] wrote: Anyone know of a method to easily solve this ... I *sometimes* list the files before deleting them: ls A*.pdf Ensuring I have only listed the ones I wish to delete, I then enter: rm A*.pdf Great, but anyone know of an easier why than the

Re: HOWTO remove a previous wildcard file list?

2001-04-23 Thread Rob Mahurin
On Sun, Apr 22, 2001 at 10:15:40PM -0400, Mark Hurley wrote: Anyone know of a method to easily solve this ... I *sometimes* list the files before deleting them: ls A*.pdf Ensuring I have only listed the ones I wish to delete, I then enter: rm A*.pdf Great, but anyone

Re: HOWTO remove a previous wildcard file list?

2001-04-23 Thread John Galt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 22 Apr 2001, Mark Hurley wrote: Anyone know of a method to easily solve this ... I *sometimes* list the files before deleting them: ls A*.pdf Ensuring I have only listed the ones I wish to delete, I then enter: rm A*.pdf

HOWTO remove a previous wildcard file list?

2001-04-22 Thread Mark Hurley
Anyone know of a method to easily solve this ... I *sometimes* list the files before deleting them: ls A*.pdf Ensuring I have only listed the ones I wish to delete, I then enter: rm A*.pdf Great, but anyone know of an easier why than the following? 1) Type the second command

Re: HOWTO remove a previous wildcard file list?

2001-04-22 Thread Walt Mankowski
On Sun, Apr 22, 2001 at 10:15:40PM -0400, Mark Hurley wrote: Anyone know of a method to easily solve this ... I *sometimes* list the files before deleting them: ls A*.pdf Ensuring I have only listed the ones I wish to delete, I then enter: rm A*.pdf Great, but anyone

Re: HOWTO remove a previous wildcard file list?

2001-04-22 Thread Mark Hurley
On Sun, Apr 22, 2001 at 10:32:33PM -0400, Walt Mankowski wrote: Assuming you're running bash, you probably want to use !* : ls A*.pdf rm !* Thank you Walt! I can't believe I didn't find that! In case anyone else wants to view more info on history expansion with bash...

Re: HOWTO remove a previous wildcard file list?

2001-04-22 Thread Walt Mankowski
On Sun, Apr 22, 2001 at 11:09:23PM -0400, Mark Hurley wrote: Thank you Walt! You're welcome. :-) I can't believe I didn't find that! In case anyone else wants to view more info on history expansion with bash... http://www.kashpureff.org/nic/linux/texinfo/bash_6.html or more simply