Nautilus Custom Scripts
-
So Nautilus will let you create custom scripts to run through it. You need to create this directory:
mkdir -p ~/.local/share/nautilus/scripts
Then in there, create your scripts. Here's a sample that spits out the number of items in a directory:
#!/bin/bash number=$(ls -l | tail -n +2 | wc -l) zenity --title "Number of Files" --notification --text "There are $number items in this directory"
Save this as an executable and then in Nautilus we can run it against a directory.
Then we get this:
I don't know how many uses this will have since it's usually easier to do this through cli but it's a nice feature.