On Thu, 3 Jun 2004 00:29:28 -0700 (PDT), Carlos <[EMAIL PROTECTED]> wrote: > > hi the filenames have "?" in them. for example > "charts.jsp?securitySymbol=BAL" > > ..and i have like 200++ files with "?" in them... how > do i make a bash script just to remove the "?".
This single command works: rename '?' '' * It removes only the first occurence of '?' in the filenames. If you have more than one '?' you can just run it again. -bodgie -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
