Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One slept on filesystem cli tool on linux is `gio`. So it comes with glib2. But today glib2 is a dependency of vte, polkit, pipewire, ffmpeg, the entire gtk ecosystem,... you get the point. So you can basically depend on it being there on most linux installs, especially desktop.

Checkout the man page: https://www.mankier.com/1/gio

highlights:

- showing progress in `cp` equivalent

- Easy cli interface to freedesktop trash (!)

- tree command

- filesystem changes monitor (inotify wrapper)



All of what is in the gio command used to be the gvfs-* command set.


I had no idea gio could do all those things. I've been using it to mount my smartphone from the CLI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: