Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

swope1221

macrumors newbie
Original poster
Feb 14, 2015
20
0
Hi everyone. I ran a script that deletes time machine backups older than a certain number of days. My question is how do I reverse this? I want to basically undo remove the effects of the script. Thanks.

Eric
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,482
16,197
California
There is no easy way to undo a delete like that. If you used commercial a data recovery application, you might be able to recovery some of the deleted data.
 

swope1221

macrumors newbie
Original poster
Feb 14, 2015
20
0
Hi Weasel, thanks for your response. I wasn't clear in what I wanted. I want what the script does, but apparently it keeps these settings permanently. I.e. It deletes all time machine backups older than 10 days, but keeps doing this. Is there a script I can run to remove the settings this script creates, so it doesn't always delete backups older than 10 days.
 

swope1221

macrumors newbie
Original poster
Feb 14, 2015
20
0
Here's a link to the script https://github.com/emcrisostomo/Time-Machine-Cleanup
I'm just running it in terminal.
 

swope1221

macrumors newbie
Original poster
Feb 14, 2015
20
0
Thanks chrfr. I wasn't sure if that uninstalled the script or just broke the symbolic link.
 

chrfr

macrumors G5
Jul 11, 2009
13,709
7,280
Thanks chrfr. I wasn't sure if that uninstalled the script or just broke the symbolic link.

The documentation explains it. The uninstall removes the links; you would remove the scripts by deleting that folder.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.