Topic "file rename"

Author Message
romeodamian
[View user's profile]

Joined: 2007-06-18
Posts: 2
Hello,

how can i rename a file with the following format: aaaa.9999.something.txt to aaaa.9999.txt ?

with script commands...
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Just this one file?
mv aaaa.9999.something.txt aaaa.9999.txt
_________________
Martin Prikryl
romeodamian
[View user's profile]

Joined: 2007-06-18
Posts: 2
Hello,

nope something is a varibile length string
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
You should be able to find a remote shell command for the task and invoke it with "call" command.
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License