Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

pierrebdc

Filemasks in mv?

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?