Topic "Filemasks in mv?"

Author Message


Would be useful to have the ability to use the -filemask switch in mv.

My use case is to be able to move files with certain names/extensions into a subfolder [after downloading them with a synchronise command].

At the moment this either needs several mv commands or else it throws an error (when trying to move the subfolder into itself. Instead it would be simpler to do a:

mv -filemask="*|*/" Processed/

or something similar.

Could this be added?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Thanks for your suggestion.

This request has been added to the tracker:
Martin Prikryl

You can post new topics in this forum


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