basic command pipe question
Craig McLean
craig at fukka.co.uk
Sun Jun 18 22:24:29 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Don Russell wrote:
> I need some basic CLI help. :-) I've googled, and read, and I can't find
> how to erase a bunch of files in one go.
>
> Specifically, I need a command that will erase *.zip files, regardless
> of the text case of the .zip part....
Assuming you are using bash (or a recent, regexp-capable shell)
$ rm *.[Zz][Ii][Pp]
C.
- --
Craig McLean http://fukka.co.uk
craig at fukka.co.uk Where the fun never starts
Powered by FreeBSD, and GIN!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEldKdMDDagS2VwJ4RAgLfAKD331Qfj95YuFpD0H03hMeBl0L8zACfXoIs
NHioqYTI7WsvhpLKdji/oAg=
=kWOa
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list