Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nsprra valuable stuff
#1
find . -type f -name '*.mp3' -exec du -ch {} + |tail -1
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#2
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.
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#3
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.
Reply
#4
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
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#5
<nsprra> proof the god-damned jews run ChatGPT https://i.4cdn.org/pol/1708120295040924.jpg
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#6
[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
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#7
<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
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#8
<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
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#9
[Image: FsD.jpg]
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply
#10
<nsprra> hm
<nsprra> get your life sorted lads!
<nsprra> find . -type f -size +600M -exec ls -sh "{}" \; |sort -h
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply




Users browsing this thread: 1 Guest(s)