Any FTP guru know how to rename a batch of files?

Status
Not open for further replies.

Buggy Loop

Member
Here's the problem, downloaded batch of files but they're all missing the extension, sadly, before realizing it, i sent them to my xbox and deleted the files on my PC, now, i could redownload all of them to my PC and easily rename all of them with some tools but that would take long since the transfer rate from xbox to pc is only ~45k, way slower than pc to xbox, dont know why though.. anyway, is there a command i can use to rename a batch of files and add the extensions to them? I have access to both smartftp and flashfxp, could download a trial or demo version of an FTP client that allows batch renaming if needed.
 
I reckon you could write a dos .bat file which puts 4 letters behind each file ( .***) Same way you do in Linux I'd imagine.





Btw, you can rename files in FlashFXP with F2, just go through each file and rename it. Don't need to transfer anything for that
 
buggy, are you sure all the files have the same extention?

Also, it's a little odd that someone would host files missing a file extention.
 
Ecrofirt said:
buggy, are you sure all the files have the same extention?

Also, it's a little odd that someone would host files missing a file extention.

Yes, they all have the same extension normally. And yea its odd, but its not the first time it happens to me :\

I tested it on one file, sent it back to my PC, renamed it with the extension and sent it back to the xbox, loaded the emu and it was on the list now.

F2 via flashfxp on ~750+ files would be a tad long :p
 
there is a program that allows you to do this. i cant seem to remember the damn name though . :/ i used to use it at work all the time.
 
doh :(


I found some commands while searching and found this for flashfxp

{
RNFR %f
RNTO %f.bak
}


That script would rename all files selected with the extension .bak (not the extension i want but its just an example i copy&pasted)

But when i did that script with the extension i wanted (or even.bak) it gave me this
[R] 553 Internal error. Rename was not successful

:(


grrrr
 
:lol "FTP guru"

Anyway, I tried playing around with the 'mv' command, but it demands that the last argument be a directory. You can move batches of files, just doesn't look like you can rename batches of them.
 
I redownloaded the whole thing, took less time than transfering from xbox to pc, had them both running and bittorent won /bows

oh well, thanks anyway
 
Status
Not open for further replies.
Top Bottom