Posts: 2,190
Threads: 183
Joined: Jan 2024
Reputation:
29
02-16-2024, 12:24 PM
(This post was last modified: 02-17-2024, 08:17 AM by KochamElcie.)
find . -type f -name '*.mp3' -exec du -ch {} + |tail -1
Have a good 2025!
Wesolego 2025 wszystkim
All the best \(^^)/
Posts: 49
Threads: 4
Joined: Feb 2024
Reputation:
2
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.
Posts: 2,190
Threads: 183
Joined: Jan 2024
Reputation:
29
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
Have a good 2025!
Wesolego 2025 wszystkim
All the best \(^^)/
Posts: 2,190
Threads: 183
Joined: Jan 2024
Reputation:
29
<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
Have a good 2025!
Wesolego 2025 wszystkim
All the best \(^^)/
Posts: 2,190
Threads: 183
Joined: Jan 2024
Reputation:
29
<nsprra> hm
<nsprra> get your life sorted lads!
<nsprra> find . -type f -size +600M -exec ls -sh "{}" \; |sort -h
Have a good 2025!
Wesolego 2025 wszystkim
All the best \(^^)/
Posts: 2,190
Threads: 183
Joined: Jan 2024
Reputation:
29
20:00 <+nsprra> did you know that irssi can connect to multiple networks?
20:00 <+monsieur> nope
20:00 <+nsprra> just in case you didn't, one irssi session can connect to any number of different irc chat networks
20:00 <+monsieur> but how?
20:00 <+nsprra> but starting multiple ones might be more convenient
20:01 <+monsieur> cool
20:01 <+nsprra> /SERVER ADD -network liberachat -noautosendcmd irc.libera.chat
20:01 <+nsprra> /SERVER CONNECT irc.libera.chat
20:02 <+nsprra> and /help SERVER for more
20:02 <+nsprra> it should remember your added servers on restart, or maybe you need to /SAVE after adding one
20:02 <+nsprra> you can also flag networks to autoconnect on irssi startup
20:02 <+monsieur> ok ;p
20:03 <+nsprra> then to switch active servers
20:03 <+nsprra> i go to window 1 with /1
20:03 <+monsieur> ok ;p
20:03 <+nsprra> then i hit ctrl+x to cycle through the connected networks
Have a good 2025!
Wesolego 2025 wszystkim
All the best \(^^)/
Posts: 2,190
Threads: 183
Joined: Jan 2024
Reputation:
29
20:02 <+nsprra> and /help SERVER for more
20:02 <+nsprra> it should remember your added servers on restart, or maybe you need to /SAVE after adding one
20:02 <+nsprra> you can also flag networks to autoconnect on irssi startup
20:02 <+monsieur> ok ;p
20:03 <+nsprra> then to switch active servers
20:03 <+nsprra> i go to window 1 with /1
20:03 <+monsieur> ok ;p
20:03 <+nsprra> then i hit ctrl+x to cycle through the connected networks
20:03 <+monsieur> ok tnx!
20:04 <+nsprra> important to switch servers to the right one of course, so that when you /join #bsdforall it's the one on
ircnow network.
20:07 <+monsieur> yea
20:08 <+monsieur> how do I switch between servers?
20:08 <+monsieur> with channels I do CTRL-N or CTRL-P
20:08 <+nsprra> to switch servers i
20:08 <+nsprra> 20:03 <+nsprra> i go to window 1 with /1
20:08 <+nsprra> 20:03 <+nsprra> then i hit ctrl+x to cycle through the connected networks
Have a good 2025!
Wesolego 2025 wszystkim
All the best \(^^)/
Posts: 2,190
Threads: 183
Joined: Jan 2024
Reputation:
29
xD
13:05 < nsprra> there was a funny twitter post from a black guy
13:05 < nsprra> who said "white people make computers difficult to use because they are racist against black people"
13:05 < nsprra> that's multiple layers of funny
Have a good 2025!
Wesolego 2025 wszystkim
All the best \(^^)/