I know that I can run the following command
ls Some{File,Folder}
And it is equivalent to running this:
ls SomeFile SomeFolder
(I also use it a lot for things like mv place_{a,b}
)
However, I was wondering if there was a different shortcut where I could do something like this:
run-command --a --whole --lot --of --flags parameter a; \ run-command --a --whole --lot --of --flags parameter b
And I only had to type run-command --a --whole --lot --of --flags parameter {a,b}
or something similar.
run-command
, many Unix commands handle several file arguments in sequence.