4 ms·
The Unix/Linux command line is unfortunate like this; the cp/mv/ln commands would be better off with the destination specified specially. For instance gnu cp a
by emmelaich 7y ago
The Unix/Linux command line is unfortunate like this; the cp/mv/ln commands would be better off with the destination specified specially. For instance gnu cp allows the syntax
cp -t <dir> <source...>
Which is good because it makes it similar to most other commands.
It would be unfortunate to mandate it though; it would be unfortunate for an `option` to be mandatory.
- justincormack 7y agoIt also allows you to use xargs to pipe a list of files in.