this post was submitted on 17 Jul 2024
128 points (99.2% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54655 readers
584 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What I do is sort the directories and files by size and go largest to smallest. Based on the likely distribution of files sizes, 20% of your files and/or directories will account for 80% of the hard drive space. I usually then choose candidates for deletion and evaluate them, deleting them on the spot or skipping them for this time. I do this until I get the space reduction I want or until I'm sure that I want to keep what is in the largest 20%. After I reach one of the two states: top 20% of files/directories are keepers or I deleted down X GB. This method can be done with any sorting method. For example, by play count or by date added, old to new. Keep going until the top 20% are keepers. The same distribution is likely to apply across all vertical data labels so the filter is generically usable in lots of situations. For example, 20% of car drivers likely get 80% of speeding tickets. We could reduce speeding by 80% by speed limiting these drivers' cars or by revoking their drivers licenses. Another example is memory hogs in a computer system. The top 20% of memory hogging programs likely account for 80% of used memory in a system. This distribution is called the Pareto principle. The principle is an example of a power law.