Filemasks in mv?

Advertisement

pierrebdc
Guest

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?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum