ITT I will document useful command line things that make JD workflows a little easier for me (and that are good candidates for scripts living in my 00).
I’m currently using Fish as a shell, hopefully anything I post should be easily reapplicable anywhere *nix.
Show inboxes with files in them
Having set things up recently, I have a lot of inboxes to clean! This presents all of them and sorts them by size:
find ~ -maxdepth 3 -path ‘Inbox’ -type d -not -empty | xargs -d “\n” du -hd 0 | sort -h
my output rn is:
20K 00-09 Knowledge, organization, writing, notetaking, learning, education, classification/00 Management of Area 00-09, meta-organization, general utilities/00.01 Inbox
24K 90-99 Digital devices/93 Current personal e-reader/93.01 Inbox for Current personal e-reader
52K 90-99 Digital devices/91 Current personal laptop/91.01 Inbox for Current personal laptop
30M 20-29 Being a musician/24 Music software and technical resources/24.01 Inbox for Music software and technical resources
94M 10-19 Bureacracy and accounting/10 Management of Area 10-19/10.01 Inbox for Area 10-19
641M 80-89 Digital media/84 Pictures/84.01 Inbox for Pictures
2.1G 80-89 Digital media/83 Video/83.01 Inbox for Video
2.7G 80-89 Digital media/80 Management of Area 80-89/80.01 Inbox for Area 80-89
6.7G 20-29 Being a musician/23 Recordings/23.01 Inbox for Recordings