I created the following nemo action, which is saved as du.nemo_action in folder nemo/actions
Code: Select all
[Nemo Action]
Name=Disk Usage
Comment=Gives total disk usage for selected file(s)
Exec=/ddr/bin/mydu %U
Extensions=any
Selection=notnone
Quote=double
Active=true
The mydu script is simple, and it works:
du -hc $1 | tail -n1 | xargs notify-send
I have created nemo actions before, but I've lost them and now I can't seem to get this one to work.
Thanks,