Topic "Renaming multiple remote files"

Author Message
[View user's profile]

Joined: 2009-08-25
Posts: 1
I'm having newbie trouble renaming several files at once.

I have a remote directory called "services". In this directory there is a series of HTML files, each with with "_services" at the end of their filename. For example, the list looks something like this:


and so on.

I've read the documentation. I understand how I can change the file extension for several files at once using the Moving Remote Files function, explained here:

So I can do this:

Fine. But I do not want to change the file extensions, I want to change multiple filenames. I simply want to delete the "_services" part from all the HTML filenames in my remote "services" directory, to leave me with:


Please, could someone show me the notation, using my example above? Would it make things easier to do a batch rename locally? Can I do that with WinSCP? If so, how? Thanks for any help.

Greetings, bristols
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
You cannot do with WinSCP, unless the part of name you want to keep has fixed length. What it does not as I can see.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License