Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using IF and THEN commands and executing a script?

Status
Not open for further replies.

stla

IS-IT--Management
Mar 12, 2003
190
DE
I Have some files and directories that contain undesirable characters such as % + * ß and so on.

I would like to search for these filese and change the charachters to an underscore _ .

I believe I can do this using the find, if, then and mv commands.

Does anyone have an idea how to do this?

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top