by OJFord · 7y ago · 0 comments
touch <destination...>
$EDITOR <destination...>
mv <current...> <destination>
cp <current...> <destination>
scp <current...> <destination>
mount <current> <destination>
The place you're putting something is last in each case; we can even include everything that doesn't modify its location.All I can think of that breaks the rule is `rm`, `unlink`, and `umount`. But they're hardly gotchas, and they're not reversing arguments they just don't have a 'destination'.
You can also do that with cp and mv if you need to, using `-t`. `cp -t .dotfiles/ .nanorc .bash*`. Generally more useful when you want to move a bunch of files around.
Zip does indeed break the 'rule', but this is not an excuse, cp and mv manage just fine with:
in in in in [...] out
Which is why I said the 'last' rather than 'second'.