SED - Need help removing characyers from filenames
I have hundreds of .zip N64 games. I want to remove certain characters from the filenames, but I'm terrible wihth SED and regular expressions. The files look like this:
Paperboy (U) [!].zip
Paper Mario (U) [!].zip
Penny Racers (U) [!].zip
Perfect Dark (U) (V1.1) [!].zip
PGAeurotour.zip
Pilotwings64.zip
Pokemon Puzzle League (U) [!].zip
Pokemon Snap Station (U) [!].zip
Pokemon Snap (U) [!].zip
Pokemon Stadium 2 (U) [!].zip
Pokemon Stadium (U) (V1.1) [!].zip
Polaris SnoCross (U) [!].zip
Powerpuff Girls, The - Chemical X-Traction (U) [!].zip
Power Rangers - Lightspeed Rescue (U) [!].zip
Premier Manager 64 (E) [!].zip
I want to remove every instance of these characters from every filename, and remove the spaces.
(U) [!] (E) (V1.1)
Any help would be appreciated.
Last edited by kgoerbig; 04-04-2012 at 10:49 AM.
|