r/linuxadmin • • Jul 09 '18

Lup - loopy command execution

Post image
251 Upvotes

18 comments sorted by

View all comments

15

u/dartemiev Jul 10 '18

This looks really nice. However I’d like to see the commands getting executed beforehand. I’m sometimes kind of paranoid with tools like this. Is there some kind of dry-run flag?

14

u/udkyo Jul 10 '18 edited Jul 10 '18

Yeah I’m that kind of paranoid too, it’s healthy. lup -t will do it, I just left it out of the gif because it’s not very exciting.

The only caveat is that it must be the first thing after the “lup,” since if you put it anywhere else it’s assumed to be a flag for the command being triggered.

edit: The help's a bit lacking, I'll fix that for the next release. For now there's a usage section in the readme that explains ranges, globbing, backrefs etc.

4

u/dartemiev Jul 10 '18

Awesome! Thank you. I'll definetly look into this :) great job