mac-os-self-destruct
mac-os-self-destruct copied to clipboard
Not working on Yosemite
Hello, The dl is working fine but not the install :
Nicolass-Mac-Pro:os-x-self-destruct nicolas$ ./self-destruct.sh --install Copying self to /usr/local/bin/self-destruct cp: /usr/local/bin/self-destruct: No such file or directory chmod: /usr/local/bin/self-destruct: No such file or directory Plist found. Unloading before install... Generating plist for user and installing: /Users/nicolas/Library/LaunchAgents/com.github.tdlm.os-x-self-destruct.plist Installation complete!
if i tag manually and run manually it works, but the tag list is not updated and the run is not being executed by itself
thanks, Nicolas
I am having the same exact issue. I tried to fix the issue by manually creating a /usr/local/bin folder (which made the no such file error disappear) Andrews-MacBook-Air:~ AndrewGodinez$ ./os-x-self-destruct/self-destruct.sh --install Copying self to /usr/local/bin/self-destruct Plist found. Unloading before install... Generating plist for user and installing: /Users/AndrewGodinez/Library/LaunchAgents/com.github.tdlm.os-x-self-destruct.plist Installation complete!
But I am still unable to get the files to delete without manually running self-destruct.sh.
@satan87 and @Andrew30003 I originally had this working with crontab. If you're familiar with crontab, you can try adding the line to crontab while we figure the plist part of it out:
* * * * * /usr/local/bin/self-destruct
I tried adding the line, but still a no go.
I am having the same problem. It does not work on Yosemite. I have tried add the crontab, but so far I didn't worked out.
@MalcolmK Hmm, you may want to try an older version. If you need help with that, let me know. There have been some serious changes since then.
Any update concerning Yosemite ? Same issue here, won't run by itself. Run smoothly manually.
@roylockhart I haven't had a chance to work on this, but did you try using an older version?
@satan87 @0xroy I've made updates to the script of late. I'd appreciate it if you could all test it to give feedback on errors. Hopefully we can close some of these issues.
Just noticed your update ! I tested it on Sierra, and have some feedback :
For some reason, the job outputs an Error 78
because the command is '/usr/local/bin/self-destruct' --run
.
I modified it to /usr/local/bin/self-destruct --run
and it ran without any problem :+1: