See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thunar Options for Folders
#4
OK. Took some time (since I have about 0 programming skills).

If you dont want to go into each folder or the check the properties to see how many files are in there.

You can go into Thunar > Edit > Configure cutom actions... and create a new custom action with this command
Code:
output=$(find %N | wc -l) && notify-send "File count" "$output files"

and name it File count.

Go into the advanced conditions tab and only check Directories. Close thunar and open it again.

If you now right click on any folder there is a new Item in the menu now named File count. Click on it and a notification should pop up with the number of all the files in that folderĀ  including all subfolders. This command only counts the files. not the folders.

If you want the number of folders do it like this:
Code:
output=$(ls -1 | wc -l) && notify-send "Folder count" "$output folders"
Linux Lite 5.0 on Lenovo Edge 540 <3
Reply


Messages In This Thread
Thunar Options for Folders - by crazyfunkman - 07-25-2015, 07:01 PM
Re: Thunar Options for Folders - by UltraCookie - 07-25-2015, 07:58 PM
Re: Thunar Options for Folders - by crazyfunkman - 07-25-2015, 08:27 PM
Re: Thunar Options for Folders - by UltraCookie - 07-26-2015, 01:07 AM
Re: Thunar Options for Folders - by crazyfunkman - 07-26-2015, 09:11 PM
Re: Thunar Options for Folders - by N4RPS - 07-27-2015, 05:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)