I really like the approach of pipe-rename ( https://github.com/marcusbuffett/pipe-rename ) for renaming many files. It's especially convenient for people who can efficiently edit many lines in their favorite text editor (so everybody here, I guess). Main problem: you maybe don't do this kind of operation frequently enough to remember how it's called or how you aliased it.
I like that idea of converting metadata to text, so you can do text operations on it that you are already familiar with, and then apply the changes back. If your problem can be solved by just regexps, there's a "rename" tool installed by Perl I've used for decades. E.g. rename -n 's/JPEG$/jpg/' *JPEG Will apply the substitution for JPEG at end of the filename to just jpg. The -n will run without renaming so you can s…
New(ish) command line tools
201–210 of 252 posts
Re: New(ish) command line tools
#202Earlier quoted context omitted.
I like that idea of converting metadata to text, so you can do text operations on it that you are already familiar with, and then apply the changes back. If your problem can be solved by just regexps, there's a "rename" tool installed by Perl I've used for decades. E.g. rename -n 's/JPEG$/jpg/' *JPEG Will apply the substitution for JPEG at end of the filename to just jpg. The -n will run without renaming so you can s…
Beware there are two incompatible rename programs in the wild. :( What you have installed, and what Debian and its derivates ship is this: https://metacpan.org/pod/distribution/File-Rename/rename.PL Most(?) other distros ship the one from util-linux: http://man7.org/linux/man-pages/man1/rename.1.html
Re: New(ish) command line tools
#203I think tig warrants more than just a passing mention. For me it's the best complement for a command line focused git usage, because it offers a far better (but still streamlined) experience for staging chunks than "git add -i", through its "tig status" TUI interface. One thing that I never bothered to research if it can be modified and the defaults bother me a little is that it does not use vim keybindings (gf for l…
Re: New(ish) command line tools
#204Re: New(ish) command line tools
#205I really like the approach of pipe-rename ( https://github.com/marcusbuffett/pipe-rename ) for renaming many files. It's especially convenient for people who can efficiently edit many lines in their favorite text editor (so everybody here, I guess). Main problem: you maybe don't do this kind of operation frequently enough to remember how it's called or how you aliased it.
In my app, you can rename using your favorite code editor, so you have access to all your keyboard shortcuts.
https://github.com/whyboris/Simplest-File-Renamer - MIT open source
Re: New(ish) command line tools
#206My personal go-to for intelligently tailing files is lnav ( https://github.com/tstack/lnav ) tho it has crashed a couple of times for me when applying a bunch of filters, etc. Is anyone aware of any other comparable shell tool for tailing a set of logs?
Re: New(ish) command line tools
#207There’s also eureka to quickly encrypt files https://github.com/mimoo/eureka
Re: New(ish) command line tools
#208Re: New(ish) command line tools
#209None of the "replacements" interest me. When I try the "new" ones I cannot get interested in them either. When trying new programs I am looking for whether a program can do something essential that I cannot do myself, e.g., with shell scripts. However I am beginning to think another reason is that these "new" utilities are consitently too complicated, e.g., too many options. It often seems as if the authors are tryin…
At least one of them (fd) was designed specifically to be simpler to use than its UNIX counterpart (find). And others though as simple to use (ripgrep, scc) they're much more performant than the tools they replace (ack, cloc).
Re: New(ish) command line tools
#210I really like the approach of pipe-rename ( https://github.com/marcusbuffett/pipe-rename ) for renaming many files. It's especially convenient for people who can efficiently edit many lines in their favorite text editor (so everybody here, I guess). Main problem: you maybe don't do this kind of operation frequently enough to remember how it's called or how you aliased it.
OMG! I created a GUI tool for this: Simplest File Renamer (Win, Mac, Linux). In my app, you can rename using your favorite code editor, so you have access to all your keyboard shortcuts. https://github.com/whyboris/Simplest-File-Renamer - MIT open source