• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
replace / in filename with _
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replace / in filename with _


  • Subject: replace / in filename with _
  • From: kim <email@hidden>
  • Date: Wed, 28 Nov 2001 12:17:23 +1100

Hi all,

I have about 5000 files contained in a whole bunch of nested folders and
I need to replace a '/' (slash) in their names with an underscore.
(typically the names are 88/1, 2/87, and I need them to be 88_1, 2_87)

Does anyone have some code snippets that might help with this rather than
me having to start from scratch?

TIA


  • Prev by Date: replace / in filename with _
  • Next by Date: Re: replace / in filename with _
  • Previous by thread: replace / in filename with _
  • Next by thread: Re: replace / in filename with _
  • Index(es):
    • Date
    • Thread