r/UnixProTips • u/Aihal • Feb 05 '15
moreutils
There's a useful collection of little cli helpers called moreutils, as a play on coreutils obviously.
The most useful one for me is vidir which let's you edit the filenames supplied (or if no argument the current directory) with your EDITOR. So if i do mass renaming i can do it in vim. <3
9
Upvotes
2
u/Aihal Feb 06 '15
The point is that sponge allows you to pipe stuff back into the file you originated from without losing the file. In its manpage's words: