• Contact me
  • About

Absoblogginlutely!

AIX

renaming files on unix

By Andy on Tuesday, June 15, 2004

We needed to rename a whole load of files containing the ? character yesterday. The following command did the trick and is saved here for the next time I need to do it.

for file in * ; do mv $file `echo $file | sed 's/\?//'` ; done
0
Previous Post
Next Post
Related Posts
AIX

stating the obvious?

AIX

Aix cribsheet

AIX

Webmin

Recent Posts
  • Fixed: Lastpass seems to randomly add incorrect data to Forms. April 16, 2020
  • Fixed: NPS using Azure AD not prompting for 2 factor on phone October 28, 2019
  • LinkedIn no longer seems to be the preferred location to publicize new Microsoft certifications July 1, 2019
  • Happy Anniversary Absoblogginlutely! May 21, 2019
  • Fixed – Screenconnect blocked by Windows Smartscreen April 3, 2019
Tags
4work (20) Amazon (5) AntiVirus (6) Blackberry (5) book (7) books (6) bug (19) Bugs (11) Dell (9) Email (9) Exams (6) exchange (14) exchange2007 (9) Firefox (11) fix (5) fixed (27) FriendsInTech (6) Gmail (7) Google (12) hotfix (7) ipod (4) mcse (5) Microsoft (46) migration (8) office365 (5) outlook (11) outlook2010 (5) passed (5) podcampohio (4) Powershell (15) reading (5) review (6) SBS (11) sbs2008 (5) Scripting (7) Security (15) solution (5) Solved (16) Symantec (9) twitter (5) upgrade (5) windows7 (12) windows2008 (5) Wordpress (13) Work (25)
Categories
Recent posts
  • Fixed: Lastpass seems to randomly add incorrect data to Forms.
  • Fixed: NPS using Azure AD not prompting for 2 factor on phone
  • LinkedIn no longer seems to be the preferred location to publicize new Microsoft certifications
  • Happy Anniversary Absoblogginlutely!
  • Fixed – Screenconnect blocked by Windows Smartscreen
Tags
4work Amazon AntiVirus Blackberry book books bug Bugs Dell Email Exams exchange exchange2007 Firefox fix fixed FriendsInTech Gmail Google hotfix ipod mcse Microsoft migration office365 outlook outlook2010 passed podcampohio Powershell reading review SBS sbs2008 Scripting Security solution Solved Symantec twitter upgrade windows7 windows2008 Wordpress Work
Categories
Theme by Scissor Themes Proudly powered by WordPress