Re: basic command pipe question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxxx	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-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux