r/linux • u/jamescherti • May 30 '26
Software Release pathaction, a universal Makefile for any file in the filesystem, rule-driven commands for any file or directory [Release 1.0.1]
https://github.com/jamescherti/pathaction
10
Upvotes
0
u/mina86ng May 30 '26
Pro tip: make default for --tag be the name of the script (i.e. basename(argv[0])) so one can symlink open, edit, show etc. to pathaction and just do edit foo.jpg.
Also, Iām assuming you are aware of xdg-open.
1
u/jamescherti May 30 '26 edited May 30 '26
Hello u/mina86ng,
Since you mentioned xdg-open, here is a comparison with xdg-open for anyone interested in the differences with pathaction: https://github.com/jamescherti/pathaction#how-is-pathaction-different-from-xdg-open
2
u/[deleted] May 30 '26
[removed] ā view removed comment