Recursive Hard Links

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
Fishbowler
Level 1
Level 1
Posts: 15
Joined: Fri Mar 18, 2011 6:07 am

Recursive Hard Links

Post by Fishbowler »

I've got a backup of the mother-in-law's hard drive and it's a chuffing mess.
I'd like to run some fun scripts to put the files in some semblance of order, but before I do, I'd like to take a backup.
Since I'm not touching file content, hard links seem like a good way to save space.

I've duplicated the folder holding the backup using

Code: Select all

cp -rl
Is that enough?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Scripts & Bash”