this post was submitted on 05 Dec 2024
26 points (96.4% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
55110 readers
439 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I usually just let the files be where they are and
cp -l
to a directory where I can manage them however I want. This creates hardlinks, so you don't use up any extra space.Huh til the
cp
command has a hard link option. I always useln
and then have to look up what the arguments are every time.hmmm I just tried this out and using
cp -lr
on a directory. I appears to have recreated the whole directory structure, hardlinking the files; because directories can't be hardlinked. Is that correct? If so wow.Yes, it just does what
cp
does. Only difference is that it makes hardlinks instead of copies. Unless you're using a COW filesystem, this might be better for most situations.