BSDForAll.Org | Forums
nsprra valuable stuff - Printable Version

+- BSDForAll.Org | Forums (https://bsdforall.org/forum)
+-- Forum: About BSDforAll.org (https://bsdforall.org/forum/forumdisplay.php?fid=8)
+--- Forum: Galleries (https://bsdforall.org/forum/forumdisplay.php?fid=10)
+---- Forum: Off-topic (https://bsdforall.org/forum/forumdisplay.php?fid=85)
+---- Thread: nsprra valuable stuff (/showthread.php?tid=125)

Pages: 1 2


nsprra valuable stuff - monsieur - 02-16-2024

find . -type f -name '*.mp3' -exec du -ch {} + |tail -1


RE: du - monsieur - 02-16-2024

mr nsprra valuable insights Smile

Code:
<nsprra> you can modify the find command to find files matching certain criteria
<nsprra> then thanks to the -ch and + you can get a summary of all their filesizes
<nsprra> like 'how much space are my .avi files taking up, versus my .mp4 files?'

Thanks mate! Big Grin I will learn more about this stuff and try to write a simple guide on the forums about that, cheers.


RE: du - LemonYellow - 02-17-2024

hmm, interesting. I've been using a du command to calculate the space usage (without knowing anything beyond that). Is this not the same tool?

du -s directory_name gives you the size of the directory.

du -sh directory_name would give it in human-readable units.


RE: nsprra valuable stuff - monsieur - 02-17-2024

Yeah it is

I don't really know much about it, but this command lets me calculate space of all .mp3 files stored on my SDD


RE: nsprra valuable stuff - monsieur - 02-17-2024

<nsprra> proof the god-damned jews run ChatGPT https://i.4cdn.org/pol/1708120295040924.jpg


RE: nsprra valuable stuff - monsieur - 02-17-2024

[code]nsprra> well how about something fun?  "Super Resolution" image upscaling has spawned an entire culture.  Models Galore!  https://openmodeldb.info/
<nsprra> i don't think there is any way to determine which uploader site gives you a free service and doesn't track uploads
<AncientWisdom> ✯☪☾✩☽?????????????☽✩☾☪✯ [Good Day to Night and Repeat, Wherever You Are!] (´ΘᴗΘ`)
<AncientWisdom> ??屮 [Yo!]
<nsprra> oxo.st, envs.sh work for me.  there's catbox.moe, uguu.se and tons more
<nsprra> i consider any upload to be published publicly
<FilipJoborun> ^^
<nsprra> there's a whole swarm of developers finetuning upscaler models to different applications now.  Here's one that removes print halftoning https://openmodeldb.info/models/1x-Bendel-Halftone
<nsprra> there's also de-jpg etc[/quote]

Big Grin


RE: nsprra valuable stuff - monsieur - 02-22-2024

<nsprra> It's good to hire a babysitter when your wife is dying of cancer and too sick to look after the kids. https://envs.sh/FsD.jpg


RE: nsprra valuable stuff - monsieur - 02-22-2024

<nsprra> < chatter> fun story, I know a Ukrainian who fled when the war started because they're right by the warzone ❚ they went to france
<nsprra> < chatter> almost immediately moved back to Ukraine, right back to the warzone ❚ apparently France was too black for them


RE: nsprra valuable stuff - monsieur - 02-22-2024

[Image: FsD.jpg]


RE: nsprra valuable stuff - monsieur - 02-26-2024

<nsprra> hm
<nsprra> get your life sorted lads!
<nsprra> find . -type f -size +600M -exec ls -sh "{}" \; |sort -h