Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
0
votes
1
answers
470
views
How to show the full title in the mission control?
I'm new to the macOS, one thing that I noticed when using mission control is that when the window title gets too long, it'll get trimmed, it's especially confusing when there're multiple similar windows open. I tried hovering over the title, but the full text won't show up, is there any way to show...
I'm new to the macOS, one thing that I noticed when using mission control is that when the window title gets too long, it'll get trimmed, it's especially confusing when there're multiple similar windows open. I tried hovering over the title, but the full text won't show up, is there any way to show the full title?

Wenfang Du
(165 rep)
Nov 4, 2022, 02:49 AM
• Last activity: Oct 23, 2024, 05:18 AM
0
votes
1
answers
594
views
Split mpeg-4 movies by the chapter
I have often a tedious job where I need to split movies by the chapter. (The videos have multiple audio tracks & subtitles and have defined chapters) I can do this in Quicktime, but it's a very manual process !! Therefore I'm looking for a way / app / .... that takes my video and splits it in multip...
I have often a tedious job where I need to split movies by the chapter. (The videos have multiple audio tracks & subtitles and have defined chapters)
I can do this in Quicktime, but it's a very manual process !!
Therefore I'm looking for a way / app / .... that takes my video and splits it in multiple videos for each chapter. Simple split, no transcoding or anything. (It would be an added bonus if it was possible to alter the id3 meta data in 1 go as well)
Again, I can do this - sorta - with Quicktime, but I want a more productive way.
Thanks for any feedback !! let me know if you need more info.
D
Dimster
(1 rep)
Apr 17, 2020, 07:28 AM
• Last activity: Mar 20, 2023, 11:59 AM
0
votes
3
answers
2398
views
TRIM on Mac USB 3 & SSD Support
I'm using various SSDs on a 15-inch mid-2014 MacBook Pro Retina having changed the original SSD for a larger size using an adapter board: all are working fine with TRIM enabled. I use external SSDs on both USB 3 enclosures and in Thunderbolt 2 enclosures. The Thunderbolt LaCie Rugged and LBD enclosu...
I'm using various SSDs on a 15-inch mid-2014 MacBook Pro Retina having changed the original SSD for a larger size using an adapter board: all are working fine with TRIM enabled.
I use external SSDs on both USB 3 enclosures and in Thunderbolt 2 enclosures. The Thunderbolt LaCie Rugged and LBD enclosures show that I have enabled TRIM Force and are working but is it possible that TRIM can be enabled on USB in any workaround?
With modern SSDs i.e. Crucial BX MX and NVMe do they have their own built-in garbage collection/TRIM that works in the background?
I'm trying to find an adapter for NVMe (I believe to SATA) so that I can put them in one of the Thunderbolt external enclosures I have. I find the complication of type confusing..
OAK77
(1 rep)
Sep 5, 2022, 09:09 AM
• Last activity: Feb 3, 2023, 04:12 PM
0
votes
1
answers
472
views
MacBook air's 2017 NVMe SSD Trim Support
I recently upgraded my MacBook air's 2017 SSD to 1TB. I used Crucial P2 NVMe SSD with a 3rd party adapter. And it's working pretty well. Recently I heard about macOS Trip support, I use the Filevault, and someone said macOS don't support 3rd party SSD trim support. But it's already working with my S...
I recently upgraded my MacBook air's 2017 SSD to 1TB. I used Crucial P2 NVMe SSD with a 3rd party adapter. And it's working pretty well.
Recently I heard about macOS Trip support, I use the Filevault, and someone said macOS don't support 3rd party SSD trim support. But it's already working with my SSD, and I don't even enable it. So I am confused here. Right now, I am using macOS 12.2.
So how is it working on my mac without any extra command? Do I worry about it?

Demoxing
(113 rep)
Feb 5, 2022, 02:25 PM
• Last activity: Feb 5, 2022, 05:58 PM
1
votes
1
answers
121
views
When is TRIM executed?
When does macOS send the [ATA TRIM](https://en.wikipedia.org/wiki/Trim_(computing)) command to the SSD's controller? * After deleting a file? Like Windows 10 does. * After a fixed amount of time? Like Ubuntu and Fedora do, once a week. I'm assuming macOS Monterey and an Apple SSD.
When does macOS send the [ATA TRIM](https://en.wikipedia.org/wiki/Trim_(computing)) command to the SSD's controller?
* After deleting a file? Like Windows 10 does.
* After a fixed amount of time? Like Ubuntu and Fedora do, once a week.
I'm assuming macOS Monterey and an Apple SSD.
Matthias Braun
(113 rep)
Nov 14, 2021, 07:38 PM
• Last activity: Nov 14, 2021, 09:58 PM
0
votes
1
answers
159
views
how to trim all the [x] enclosed bracket footnotes from a long string of Wikipedia text?
I want to keep the paragraph structure but just delete all the enclosing brackets from text that is in the clipboard. For instance - this text: >The three stripes are Adidas' identity mark, having been used on the company's clothing and shoe designs as a marketing aid. The branding, which Adidas bou...
I want to keep the paragraph structure but just delete all the enclosing brackets from text that is in the clipboard.
For instance - this text:
>The three stripes are Adidas' identity mark, having been used on the company's clothing and shoe designs as a marketing aid. The branding, which Adidas bought in 1952 from Finnish sports company Karhu Sports for the equivalent of 1,600 euros and two bottles of whiskey, became so successful that Dassler described Adidas as "The three stripes company".
I want it to be like this (no matter how long the text string):
>The three stripes are Adidas' identity mark, having been used on the company's clothing and shoe designs as a marketing aid. The branding, which Adidas bought in 1952 from Finnish sports company Karhu Sports for the equivalent of 1,600 euros and two bottles of whiskey, became so successful that Dassler described Adidas as "The three stripes company".
I've tried this but it deletes most of the string:
set theName to (the clipboard)
set y to characters 1 thru ¬
((offset of "[" in theName) - 2) ¬
of theName as string
I've tried also:
do shell script "sed -E -e 's|\\[.*||' -e 's|,||g' -e 's|^[ ]+||' -e 's|[ ]+$||'<<<" & theName's quoted form
Alex
(1 rep)
Oct 15, 2021, 04:30 PM
• Last activity: Oct 18, 2021, 01:22 PM
0
votes
1
answers
840
views
If a Macbook has TRIM support, does this mean it automatically uses TRIM command on deleted files?
Under SATA/SATA Express in my System Information, I have "Yes" for TRIM support, so I assume TRIM has been enabled for my Mac. Does this mean that every time I delete a file, the TRIM command is used on those files, or do I have to invoke TRIM myself to use it?
Under SATA/SATA Express in my System Information, I have "Yes" for TRIM support, so I assume TRIM has been enabled for my Mac. Does this mean that every time I delete a file, the TRIM command is used on those files, or do I have to invoke TRIM myself to use it?
sangstar
(1 rep)
Jul 1, 2021, 05:06 PM
• Last activity: Jul 1, 2021, 06:07 PM
13
votes
2
answers
11620
views
Is it possible to manually TRIM the unused blocks (free space) for an existing APFS volume?
When migrating a MacBook from HDD to SSD, I did a block-level copy using `dd`. I believe for optimal flash lifetime and performance, it would be the best to issue a TRIM for every unused block in the new filesystem to inform the SSD controller (so it won't confuse my `dd` copy with a large file that...
When migrating a MacBook from HDD to SSD, I did a block-level copy using
dd
. I believe for optimal flash lifetime and performance, it would be the best to issue a TRIM for every unused block in the new filesystem to inform the SSD controller (so it won't confuse my dd
copy with a large file that occupies the entire disk).
Is it possible to TRIM the free space manually for an APFS volume on macOS (like FreeBSD's trim
or Linux's fstrim
)? I've read that on HFS+, macOS's fsck
has a TRIM pass, so TRIM can be triggered manually by running fsck -fy
in single-user mode, and one should see a "trimming unused blocks" message. But it doesn't support APFS (I tried it and I didn't see any message about TRIM).
比尔盖子
(341 rep)
Jan 13, 2021, 01:30 AM
• Last activity: Jan 13, 2021, 05:51 AM
1
votes
1
answers
475
views
How do I trim first and last few seconds of a mp4 using AppleScript?
I'm using Mac 10.13.3. I want to trim the first second and the last two seconds from my mp4 (movie). I tried writing an Applescript like so trim output.mp4 1 from (0*60 + 1) to (32*60 +38) but when I try and save it, I get the error A identifier can’t go after this identifier. Could someone provide...
I'm using Mac 10.13.3. I want to trim the first second and the last two seconds from my mp4 (movie). I tried writing an Applescript like so
trim output.mp4 1 from (0*60 + 1) to (32*60 +38)
but when I try and save it, I get the error
A identifier can’t go after this identifier.
Could someone provide some guidance on how to correct my script? When I try and trim using the QuickTime GUI, I find I can't move the trim bars by just a second or two with my mouse (it seems to move in large increments), otherwise I'd use that route.
Dave
(361 rep)
May 28, 2018, 02:02 PM
• Last activity: Jun 22, 2020, 10:18 PM
8
votes
4
answers
11454
views
Software for splitting or trimming MP4 video without transcoding
I occasionally need to trim an MP4 video or split a clip out of the middle. Up to now I've been using a great app called [MPEG Streamclip][1] which has all the features I want: - super light weight, opens instantly - gui for scrubbing through videos - keyboard controls for frame-by-frame, keyframe-b...
I occasionally need to trim an MP4 video or split a clip out of the middle. Up to now I've been using a great app called MPEG Streamclip which has all the features I want:
- super light weight, opens instantly
- gui for scrubbing through videos
- keyboard controls for frame-by-frame, keyframe-by-keyframe, in, out, and trim
- batch list so I can set up multiple splits without waiting for each to save
- saves clips from MP4s without transcoding
A lot of this functionality was also available in Apple's Quicktime 7 Pro, although not quite as streamlined.
Unfortunately the last update to MPEG Streamclip was in 2012, and each OS update breaks it further. In Mojave the Streamclip GUI is almost useless, and it's 32 bit so 10.15 will kill it entirely. Same for Quicktime 7.
I'm sure I'm not the only person who wants to trim and split video on a Mac. What are the options for lightweight editors to trim MP4s without transcoding?
Edit to explain how this is not a duplicate of Is there an easy way on a Mac to split an audio file at defined intervals? :
This question is about splitting a video file, not an audio file, at points decided by scrubbing through the video, not on a defined interval. That question currently has no accepted answer, and the answers that were proposed do not apply to this question.
Robert
(1958 rep)
Sep 27, 2018, 11:25 PM
• Last activity: Apr 17, 2020, 08:26 AM
1
votes
2
answers
476
views
Windows 10 Under Bootcamp + TRIM
I’m trying to understand how I can avoid wear on my expensive 2TB SSD I use Windows 10 under bootcamp for games on my 2019 MBP 16inch. Can I enable trim as supported by macOS, on Windows? Will macOS also trim the windows partition? If no to both, what’s the impact? Do I need to destroy the windows p...
I’m trying to understand how I can avoid wear on my expensive 2TB SSD I use Windows 10 under bootcamp for games on my 2019 MBP 16inch.
Can I enable trim as supported by macOS, on Windows?
Will macOS also trim the windows partition?
If no to both, what’s the impact?
Do I need to destroy the windows partition semi regularly to avoid the disk being over worn?
Woodstock
(1376 rep)
Mar 15, 2020, 12:39 PM
• Last activity: Mar 15, 2020, 01:30 PM
4
votes
2
answers
5003
views
trimforce enable does not work
I am using 2009 macbook pro and I wanted to upgrade the default hdd to a Samsung Evo 850. I have succeeded to transfer everything from a Time Machine backup, but when I wanted to enable the trim by **sudo trimforce enable**, then after a restart computer just shows the "crossed out circle". I am run...
I am using 2009 macbook pro and I wanted to upgrade the default hdd to a Samsung Evo 850. I have succeeded to transfer everything from a Time Machine backup, but when I wanted to enable the trim by **sudo trimforce enable**, then after a restart computer just shows the "crossed out circle". I am running OSX 10.11.6, and AFAIK it should just work.
Am i missing something there?
**What I did exactly is**:
- put a clean ssd into the computer
- booted from USB install disk for El Capitan
- restored the backup from the time machine
- logged in successfullty to a newly setup osx as a user with admin rights,
- saw in system information SATA suport "Trim support: no"
- in Terminal typed **sudo trimforce enable**, after a minute computer reboot
- crossed out circle shows (every 10 seconds it changes for approx 0.3 seconds for apple logo, but the computer does not boot)
am I missing something?
**Edit.** On page Crindori Disk sensei I found:
This is the easiest and safest way to enable Trim on OS X.
It is even better than using the new built in trimforce command,
since that requires 10.10.4 and may require disabling system security on El Cap.
Are they up to something with "disabling system security on El Cap". Should I still have done the **kext-dev-mode=1** thing?
user68358
Feb 11, 2017, 06:23 AM
• Last activity: Sep 20, 2018, 12:34 AM
2
votes
1
answers
2139
views
sudo disable trimforce doesn't work
Since upgrading to High Sierra my boot time slowed down considerably (from ~10 seconds to 90 seconds). Googling this problem suggests disabling Trim might work as a solution, which you do via the `sudo trimforce disable` command, but it doesn't actually seem to disable Trim. After running `sudo trim...
Since upgrading to High Sierra my boot time slowed down considerably (from ~10 seconds to 90 seconds). Googling this problem suggests disabling Trim might work as a solution, which you do via the
sudo trimforce disable
command, but it doesn't actually seem to disable Trim.
After running sudo trimforce disable
and pressing y
twice, my Mac automatically reboots but after rebooting, system_profiler SPSerialATADataType | grep 'TRIM' or System Information->SATA/SATA Express
still shows TRIM Support: Yes
I also tried to disable System Integrity Protection before disabling Trim, and that doesn't seem to work either.
Anyone got any ideas?
Monado
(21 rep)
Jul 23, 2018, 12:19 AM
• Last activity: Jul 23, 2018, 10:56 AM
-1
votes
1
answers
617
views
How do I check if the SSD on my APFS volume is using DRAT or DZAT?
DZAT: Deterministic zero after TRIM. DRAT: Deterministic read after TRIM. Details on TRIM [here][1]. [1]: https://articles.forensicfocus.com/2014/09/23/recovering-evidence-from-ssd-drives-in-2014-understanding-trim-garbage-collection-and-exclusions/
DZAT: Deterministic zero after TRIM.
DRAT: Deterministic read after TRIM.
Details on TRIM here .
NoMoreErrors
(117 rep)
Jul 7, 2018, 05:10 PM
• Last activity: Jul 7, 2018, 09:09 PM
1
votes
1
answers
2986
views
How does TRIM work in macOS High Sierra?
Since all MacBooks with Apple-SSDs have TRIM enabled, I was wondering if trimming would “reset/prepare” the blocks for new writes, or would they leave the blocks there until a new write comes in. If blocks are reset/prepared in advance of new writes, would forensic recoverability of data still be po...
Since all MacBooks with Apple-SSDs have TRIM enabled, I was wondering if trimming would “reset/prepare” the blocks for new writes, or would they leave the blocks there until a new write comes in.
If blocks are reset/prepared in advance of new writes, would forensic recoverability of data still be possible?
NoMoreErrors
(117 rep)
Jul 7, 2018, 02:08 AM
• Last activity: Jul 7, 2018, 06:21 PM
0
votes
1
answers
1074
views
Applescript remove Missing value and unwanted data
I created a script to return some credit card informations from an internal website CC Info ", " Visa (9999) ", " Visa (8888) ", " Visa (7777) ", " Visa (666) ", " Alipay ", missing value, missing value, missing value} I have two issue with my script, 1. I can't get rid of the first link with is not...
I created a script to return some credit card informations from an internal website
CC
Info ", " Visa (9999) ", " Visa (8888) ", " Visa (7777) ", " Visa (666) ", " Alipay ", missing value, missing value, missing value} I have two issue with my script, 1. I can't get rid of the first link with is not a CC numbers tried : set myRawData to items 2 thru -1 of myRawData as string but don't seems to work. 2. I don't manage to remove all the missing values. 3. Can I remove some entry from the list that contain "none" ? Here is my full script tell application "Google Chrome" tell active tab of window 1 to set myRawData to execute javascript "var outPut=[]; var arr=document.getElementsByClassName('sortable fraudScoringTransactionCCSummary');for (var i in arr) {outPut.push(arr[i].innerHTML)};outPut;" end tell ## set myRawData to items 2 thru -1 of myRawData as string -- not working set myNewList to {} repeat with each from 1 to count of items of myRawData set itemOnMyList to item each of myRawData if itemOnMyList is in myRawData and itemOnMyList is not in myNewList then set end of myNewList to itemOnMyList end repeat ## not sur ##set myNewList to items 2 thru -1 of myNewList -- not working set countHowManyCC to count myNewList return countHowManyCC
Info ", " Visa (9999) ", " Visa (8888) ", " Visa (7777) ", " Visa (666) ", " Alipay ", missing value, missing value, missing value} I have two issue with my script, 1. I can't get rid of the first link with is not a CC numbers tried : set myRawData to items 2 thru -1 of myRawData as string but don't seems to work. 2. I don't manage to remove all the missing values. 3. Can I remove some entry from the list that contain "none" ? Here is my full script tell application "Google Chrome" tell active tab of window 1 to set myRawData to execute javascript "var outPut=[]; var arr=document.getElementsByClassName('sortable fraudScoringTransactionCCSummary');for (var i in arr) {outPut.push(arr[i].innerHTML)};outPut;" end tell ## set myRawData to items 2 thru -1 of myRawData as string -- not working set myNewList to {} repeat with each from 1 to count of items of myRawData set itemOnMyList to item each of myRawData if itemOnMyList is in myRawData and itemOnMyList is not in myNewList then set end of myNewList to itemOnMyList end repeat ## not sur ##set myNewList to items 2 thru -1 of myNewList -- not working set countHowManyCC to count myNewList return countHowManyCC
Kevin
(2468 rep)
May 11, 2018, 08:17 AM
• Last activity: May 11, 2018, 01:37 PM
0
votes
1
answers
339
views
Trimforce on third party SSD disables keyboard and touchpad
- Specs: [MBP 15" Mid 2010 i7 8gb ram][1] - SSD: [Sandisk PLUS 240GB SATA3][2] - OS: macOS Sierra 10.12.1 Brand new SSD. Fresh install of macOS Sierra with the latest update 10.12.1. When using `sudo trimforce enable` it enables successfully and reboots the machine. After the reboot during the first...
- Specs: MBP 15" Mid 2010 i7 8gb ram
- SSD: Sandisk PLUS 240GB SATA3
- OS: macOS Sierra 10.12.1
Brand new SSD. Fresh install of macOS Sierra with the latest update 10.12.1.
When using
sudo trimforce enable
it enables successfully and reboots the machine. After the reboot during the first 20-30 seconds built-in keyboard and trackpad stop responding and they never recover back. The only fix is to disable trim: sudo trimforce disable
.
When trim is disabled everything works absolutely fine - no issues with keyboard nor trackpad.
What could cause such behaviour?
Alex Ljamin
(521 rep)
Dec 7, 2016, 08:45 AM
• Last activity: Apr 13, 2018, 04:02 PM
0
votes
2
answers
2337
views
SSD and PPC with Leopard 10.5.8
G5 quad core PPC with an SSD in it. Should I continue looking for 'trim enabling' software? It doesn't seem to exist. Does the PPC architecture have a built in feature that manages SSD space?
G5 quad core PPC with an SSD in it. Should I continue looking for 'trim enabling' software? It doesn't seem to exist. Does the PPC architecture have a built in feature that manages SSD space?
Mike
(1 rep)
Mar 16, 2015, 08:08 PM
• Last activity: Feb 21, 2018, 03:56 AM
2
votes
2
answers
2339
views
Consequences of disabling kext signing
What are the consequences of disabling Kest Signing on OS X Yosemite? I have disabled it to keep TRIM enabled on my aftermarket SSD. What are the security issues I could run up against? If I install applications only from trusted resources can I run in any kind of trouble? I couldn't find online ext...
What are the consequences of disabling Kest Signing on OS X Yosemite? I have disabled it to keep TRIM enabled on my aftermarket SSD. What are the security issues I could run up against? If I install applications only from trusted resources can I run in any kind of trouble?
I couldn't find online extensive answers to these questions. Sorry if it's a duplicate.
Francesco Zaffaroni
(121 rep)
Nov 28, 2014, 08:16 AM
• Last activity: Feb 3, 2018, 06:18 PM
4
votes
1
answers
923
views
Do we need to disable the trim on an 3rd party SSD before updating a Mac?
I have a MacBook Pro 13-inch Mid 2012 and I installed an SSD in it. I'd like to upgrade my computer, but I'm not sure if I need to disable the trim before the update and reenable it after. I've heard that it could cause problems, but don't know why. I have macOS Sierra 10.12.6 and I've enabled the t...
I have a MacBook Pro 13-inch Mid 2012 and I installed an SSD in it. I'd like to upgrade my computer, but I'm not sure if I need to disable the trim before the update and reenable it after. I've heard that it could cause problems, but don't know why.
I have macOS Sierra 10.12.6 and I've enabled the trim since I switched to this operating system.
M. Beausoleil
(225 rep)
Dec 27, 2017, 05:08 PM
• Last activity: Dec 27, 2017, 06:10 PM
Showing page 1 of 20 total questions