4 ms·
> Anyone have a way to hack that to cut the two 'mv's down to one? Yup: mv -bS .bak file{.new,} Should give the same result if you're using gnu coreutil
by TheDong 7y ago
> Anyone have a way to hack that to cut the two 'mv's down to one?
Yup:
mv -bS .bak file{.new,}
Should give the same result if you're using gnu coreutils 'mv', though it's obviously not as generally useful as nested braces.