Jump to content

anyone know a


Recommended Posts

  • CTW Members

edit entire folders of filenames in one go (eg changing -'s to spaces) and creating a file list in a txt file?

 

fanx

 

i do actually know a way to do this writing my own script.....might do that....but it'd take 5 minutes.

Link to comment
Share on other sites

  • CTW Members

Bulk Renaming of files and folders? not that i've seen... scripting all the way mate!

Link to comment
Share on other sites

phil - it would take 10 seconds to write a scrip to do that.

 

less time if you did it in VB (altho it would probably crash mid way through or only pretend to rename the files)

Link to comment
Share on other sites

  • CTW Members

QUOTE (squeakage @ May 29 2004, 12:44)
you do seem like you have plenty of spare time though Phil.... sure u cud manage it

haha

*raspberry*

 

mmm, i did write a file list generator like 7 years ago user posted image a good one as well.

 

i can replace the -'s, but only with printable spaces. aye.

Edited by Phil rr
Link to comment
Share on other sites

  • CTW Members

well, i wrote a file renamer, it is 25MB, requires 512MB of memory, and a pentium 4 2.8 GHz.

 

sorry i meant 0.25 of a k, not 25MB

Edited by Phil rr
Link to comment
Share on other sites

  • CTW Members

You might be able to do what you're saying at the standard command/DOS prompt.

 

Batch renaming is limited though. E.g. you can do stuff like this:

 

ren porn????.jpg tits????.jpg

ren *.mpg *.mpeg

 

...but I don't know how to actually remove letters from filenames, or effectively search for substrings within the filenames. Using wildcards depends on the characters being in the same place in each file, I think.

 

As for generating a file list: you could use the pipe/routing functions of DOS prior to the actual renaming. e.g.

 

dir porn????.jpg /B > pornlist.txt

 

...so instead of printing the listing to the screen, it's "piped" to file.

Link to comment
Share on other sites

QUOTE (LiquidEyes @ May 29 2004, 14:35)
You might be able to do what you're saying at the standard command/DOS prompt.

Batch renaming is limited though. E.g. you can do stuff like this:

ren porn????.jpg tits????.jpg
ren *.mpg *.mpeg

...but I don't know how to actually remove letters from filenames, or effectively search for substrings within the filenames. Using wildcards depends on the characters being in the same place in each file, I think.

As for generating a file list: you could use the pipe/routing functions of DOS prior to the actual renaming. e.g.

dir porn????.jpg /B > pornlist.txt

...so instead of printing the listing to the screen, it's "piped" to file.

that was my 1st thought too, but i think he wants all the underscore characters replaced with spaces. so i'm assuming the underscores are used in downloaded files (as unix doesnt technically support spaces in file names). if thats the case then it wont be a standard rule of how many characters in the underscore will be

Link to comment
Share on other sites

  • CTW Members

cheers Liquid.

 

i did what i needed to, it replaced all the -'s with a space.

 

now i can get back to CTW. wink.gif

Link to comment
Share on other sites

QUOTE (squeakage @ May 29 2004, 14:50)
happy you should be de-smelling yourself!!!

i'm getting a wiff of ur pong 3 counties away!!!

pmsl.gif

 

i'm off the wash now tongue.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Activity Stream

    1. 0

      Valhalla Supermassive adds NEW Pleiades mode

    2. 0

      Audible Genius offers 50% discounts on Syntorial 2 and Building Blocks

    3. 0

      Tuned Plugins Sale: Up to 83% Off, With Vocal Plugins down to $19

    4. 0

      Polyverse launches Filterverse and a site-wide Black Friday sale

    5. 0

      BPB Bassaturator is a FREE Bass Booster Plugin

×
×
  • Create New...