Skip to content

Instantly share code, notes, and snippets.

@dannote
Last active February 22, 2024 11:43
Show Gist options
  • Save dannote/17e0396fe2e19c6e60c915838376d267 to your computer and use it in GitHub Desktop.
Save dannote/17e0396fe2e19c6e60c915838376d267 to your computer and use it in GitHub Desktop.
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")
@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

@MrMinecraft97
Copy link

MrMinecraft97 commented Jun 6, 2023

Does anyone have the trial installer for Logic Pro 10.6.3, for Mac OS Catalina 10.15.7? The link above for 10.4.8 works, it's just older.

Also, for those looking, @b0gdanw has final cut has links here. https://gist.github.com/b0gdanw/956b1edc61145ea21ac4a8c1f6cdccc9.

Links from https://www.apple.com/final-cut-pro/trial/
Release history https://en.wikipedia.org/wiki/Final_Cut_Pro_X#Release_history

Final Cut Pro 10.1.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-05296.20140814.VRR4r/FinalCutProTrial10.1.3.dmg

Final Cut Pro 10.1.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-02980.20141202.Jgt44/FinalCutProTrial10.1.4.dmg

Final Cut Pro 10.2
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-08830.20150413.HPPE4/FinalCutProTrial10.2.dmg

Final Cut Pro 10.2.2
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-24917.20150826.Xer4r/FinalCutProTrial10.2.2.dmg

Final Cut Pro 10.2.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-43177.20160129.QERFT/FinalCutProTrial10.2.3.dmg

Final Cut Pro 10.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-18986.20161031.61F2C306-4972-4289-BF7D-58C3386FA605/FinalCutProTrial10.3.dmg

Final Cut Pro 10.3.1
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-86817.20161108.164BDD1F-52A7-4829-8F49-810B78A12A2A/FinalCutProTrial10.3.1.dmg

Final Cut Pro 10.3.2
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-91726.20170119.164CEE1F-52A7-4829-8F49-810B78A12A2A/FinalCutProTrial10.3.2.dmg

Final Cut Pro 10.3.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-13391.20170522.164CEE1F-52A7-4829-8F49-810B78A12A2B/FinalCutProTrial10.3.4.dmg

Final Cut Pro 10.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/091-00662.20171128.164CEE1F-52A7-4829-8F49-810B78A12A2B/FinalCutProTrial10.4.dmg

Final Cut Pro 10.4.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/091-84145-20180530-bac0824e-dd7b-423b-b4d5-eb61358d2911/FinalCutProTrial10.4.3.dmg

Final Cut Pro 10.4.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/091-68456-20181115-01EC2FD2-85EB-11E8-AB5B-AEA972136C40/FinalCutProXTrial10.4.4.dmg

Final Cut Pro 10.4.6
https://secure-appldnld.apple.com/Final_Cut_Pro_X/041-31543-20190327-3F404204-9E56-4D0B-BBEF-94E8568884B5/FinalCutProTrial10.4.6.dmg

Final Cut Pro 10.4.7
https://secure-appldnld.apple.com/Final_Cut_Pro_X/041-95564-20190911-0DBC366A-75BC-4AAF-82F3-71F28071CF86/FinalCutProTrial10.4.7.dmg

Final Cut Pro 10.4.8
https://secure-appldnld.apple.com/Final_Cut_Pro_X/061-39440-20191108-D1C6C4E3-177B-4D5C-A359-794DE891C60E/FinalCutProTrial10.4.8.dmg
https://secure-appldnld.apple.com/Final_Cut_Pro_X/061-77685.20200323.164CEE1F-52A7-4829-8F49-810B78A12A2B/FinalCutProTrial10.4.8.dmg

Final Cut Pro X 10.4.10
https://secure-appldnld.apple.com/Final_Cut_Pro_X/001-47214-20200922-c2f15b72-6e01-4a64-844c-b940e0a0c4ae/FinalCutProXTrial10.4.10.dmg

Final Cut Pro 10.5
https://updates.cdn-apple.com/2020/macos/001-43922-20201105-e6abc088-95e6-428b-9d4d-992fab3ea3e7/FinalCutProTrial10.5.dmg

Final Cut Pro 10.5.1
https://updates.cdn-apple.com/2020/macos/001-82240-20201210-8a3a19b9-e908-4938-85be-a57452483746/FinalCutProTrial.dmg

Final Cut Pro 10.5.2
https://secure-appldnld.apple.com/Final_Cut_Pro_X/071-09642-20210301-c8feaf55-699d-4c92-a2cc-9c5adff1cbd5/FinalCutProTrial.dmg

Final Cut Pro 10.5.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/071-54624-20210609-10716BC3-11BB-4B36-B18D-98BDB40D13BB/FinalCutProTrial.dmg

Final Cut Pro 10.5.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/071-62955-20210702-B0EAC2CA-E28D-40AE-8BFA-E8C0D6551DE2/FinalCutProTrial.dmg

Final Cut Pro 10.6 for macOS 11.5.1 or later
https://secure-appldnld.apple.com/Final_Cut_Pro_X/071-15424-20211015-3A5EA572-8823-4DD2-8E8B-608100399702/FinalCutProTrial.pkg

Final Cut Pro 10.6.1
https://secure-appldnld.apple.com/Final_Cut_Pro_X/002-26102-20211111-AA549D59-31C7-4327-9307-B34E6BB6F5B3/FinalCutProTrial.dmg

Final Cut Pro 10.6.2
https://secure-appldnld.apple.com/Final_Cut_Pro_X/002-87769-20220408-B4B54294-5AE7-40B8-B8E9-DA5697CB7B8F/FinalCutProTrial.dmg

Final Cut Pro 10.6.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/012-04880-20220519-225A343F-EEED-4F00-A3E8-508161D7928F/FinalCutProTrial.dmg

Final Cut Pro 10.6.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/012-45845-20220805-C1220551-4F16-4C52-8445-DA7248625C60/FinalCutProTrial.dmg

Final Cut Pro 10.6.5
https://secure-appldnld.apple.com/Final_Cut_Pro_X/012-94751-20221024-4D0F1E34-DC43-4216-9FF6-F6C186A95201/FinalCutProTrial.dmg

Final Cut Pro 10.6.6
https://secure-appldnld.apple.com/Final_Cut_Pro_X/032-63828-20230518-1706A689-750D-448B-A7D8-200C1C1A508B/FinalCutProTrial.dmg

@MrMinecraft97
Copy link

Digging around through archive.org I found this link for the trial version of 10.6.1. Keep in mind, I had to use free download manager to download it, chrome would keep going to network error. Also seems to be a version before the sidechain bug.

10.6.1:
https://web.archive.org/web/20210423102247if_/https://updates.cdn-apple.com/2020/macos/001-84693-20201210-59cbf73b-5b4b-4bdc-841e-7c28304c90a6/LogicProTrial.dmg

@vohracodes
Copy link

kindly help me anyone for the steps to apply this

@adamaaaa-stack
Copy link

hey if anyone is looking for lpx 10.5.1 its here
i was just digging around on web archive and found this
hope it helps
(https://web.archive.org/web/20200813214541/https://www.apple.com/logic-pro/trial/)

@Urminhirpara
Copy link

can it work on new macos 14 sonoma

@tueng1
Copy link

tueng1 commented Oct 30, 2023

can it work on new macos 14 sonoma

Yes

@karanmgandhi
Copy link

@tueng1 I am trying to run your command in Sonoma but it doesn't work. Here's the error I get. Can you please help?

Screenshot 2024-02-20 at 5 29 33 PM
Screenshot 2024-02-20 at 5 30 28 PM

@TehBrian
Copy link

@tueng1 I am trying to run your command in Sonoma but it doesn't work. Here's the error I get. Can you please help?

@karanmgandhi, run it in the Terminal app.

Shortcuts is running it as administrator and therefore ~ refers to root's home (as opposed to your user's home) which is not where .ffuserdata is stored.

@karanmgandhi
Copy link

karanmgandhi commented Feb 21, 2024

Understood, tried it and it worked! Thanks a lot @TehBrian !

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