Rename existing file using Pattern

Advertisement

Ricoman
Joined:
Posts:
9

Rename existing file using Pattern

It would be great if the user could enter a pattern or regex that could be used to automatically rename downloaded or uploaded files if the destination file already exists.

For example, the pattern
{name}_new.{ext}
would cause hello.txt to be renamed to hello_new.txt if the destination file already exists.

Reply with quote

Advertisement

Ricoman
Joined:
Posts:
9

Thanks for replying.

I think this would make the program a lot easier for routine transfers and synchronizing folders etc.

But one feature that I think would be even more useful is to rename the existing file (to file.ext.old, for example, so that it is not overwritten, but the new file is copied and takes the place of the old file.
I.e. the feature described here: https://winscp.net/forum/viewtopic.php?t=6221

Reply with quote

martin
Site Admin
martin avatar

I have realized that with some limitation you can achieve this by setting remote recycle bin to .. But this works with SFTP only.
This request has been added to tracker.

Reply with quote

Advertisement

You can post new topics in this forum