Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Final Cut Pro X trial reset
#!/usr/bin/swift
import Foundation
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath)
let data = try! NSData(contentsOf: path) as Data
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary
for (key, value) in mutableDictionary {
if value is NSDate {
mutableDictionary[key] = Date()
}
}
try! NSKeyedArchiver.archivedData(withRootObject: mutableDictionary, requiringSecureCoding: false).write(to: path)
print("You'd better buy it")
@element100500
Copy link

element100500 commented Jan 24, 2022

mv -v ~/Library/Application\ Support/.ffuserdata ~/.Trash

mv: rename /Users/username/Library/Application Support/.ffuserdata to /Users/username/.Trash/.ffuserdata: No such file or directory

Added later:
Actually I need Logic Pro reset trial, not Final Cut.
Sorry, pirate brothers. Aaaarrrrgggghhhh!

@Botonian
Copy link

Whenever I try running the command it spits out override rw-r--r-- user/staff for /Users/user/.Trash/.ffuserdata? (y/n [n])

@ucsbchui
Copy link

Thank you so much @tueng1
I use your method and it is amazing! It works!

@TehBrian
Copy link

For anyone who keeps forgetting which is the correct command to use, I made a simple gist. Feel free to save it so that you can come back to it later. Find it here: https://gist.github.com/TehBrian/bf82c7505b647d423da6d5abbe2b95a3

@PrometheusProductions
Copy link

Just copied and pasted the command from above into my terminal and it worked! Final Cut went from 46 days back to 90! Awesome! Is there a command we can use for Logic Pro?

@Andrassi75
Copy link

Logic Pro X Trial reset:
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash

Does anyone have a Logic Pro 10.5 trial download link? I have Mojave, this version is the highest I can use.

@notxcain
Copy link

notxcain commented Oct 6, 2022

@dannote the last comment looks like some kind of scam.

@dannote
Copy link
Author

dannote commented Oct 6, 2022

@notxcain Removed it, thnx

@PieroMarraffa
Copy link

Hi guys, I'm trying to run the command on my M1, but it still give me the error message "no such file or directory". Ran it on my intel mac and worked. Can you help me?

@scriptivRED
Copy link

Hello! I am trying to run this on my Intel Mac running Monterey and I keep getting the error code "zsh: event not found: /usr/bin/swift"

How do I solve this? This is running in Terminal, it seems that's how it needs to be done.

@TehBrian
Copy link

TehBrian commented May 2, 2023

Hello! I am trying to run this on my Intel Mac running Monterey and I keep getting the error code "zsh: event not found: /usr/bin/swift"

How do I solve this? This is running in Terminal, it seems that's how it needs to be done.

@scriptivRED, try this script instead: https://gist.github.com/TehBrian/bf82c7505b647d423da6d5abbe2b95a3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment