New answers tagged

0

If you turn off iCloud as suggested, you have the option to save all our files to the local disk - but that only works if your local disk is big enough! When you turn back on again it re-syncs EVERYTHING, so could take several days and creates problems if your disk is not big enough to accommodate all your iCloud data TWICE — the backup and the re-synched ...


3

Unicode U+002F is equivalent to ASCII 47, or the "slash"/soldus key on your keyboard. Calling it a Unicode special character is a bit like maître Pathelin in the medieval farce discovering that he was speaking prose; it's just the unmodified output of the key next to the right shift key. It's not so much that it's a Unicode special character as ...


0

Spotlight Importer What you are looking for is a Spotlight Importer for movie file subtitles. There are numerous open source importers on GitHub. If none match your needs, consider writing a Spotlight Importer to index the embedded subtitles. Importers look complex to write but they are not too bad. Be sure to start with the Xcode template project.


3

Some process (or processes) seem to be accessing the drive and preventing it from ejecting. You can list those processes with this command: sudo lsof +d /Volumes/<Time Machine hard drive name> which displays all running processes that are accessing the folder /Volumes/<Time Machine hard drive name> From the information in your post, the culprit ...


1

You may not have the same issue, but in my case, the problem was that the handler_name cannot be more than 29 characters. To fix, you could try a command like this instead: ffmpeg -i 'My Movie.mov' -metadata:s handler_name=SoundHandler vid.mp4 https://trac.ffmpeg.org/ticket/3623


1

Mac being mac, this is the simplest I could think of, out of the box: Right click on folder, select Services > New Terminal at Folder On terminal type touch yourfile.txt Cmd+Q on terminal


-1

Another workaround is to visit for example https://www.editpad.org/ and download a .txt file


0

I ended up putting the drive on the network using a raspberry pi. Here's the tutorial I followed for anyone wanting to save a few seconds each day https://mudge.name/2019/11/12/using-a-raspberry-pi-for-time-machine/


1

Detailed You can make all hidden files visible with this command in the Finder. defaults write com.apple.Finder AppleShowAllFiles 1 && killall Finder However, I prefer not to display hidden system files via the terminal, but rather with a shortcut. CMD + SHIFT + . If you want, you can make a file (several files) visible or invisible again. - Even ...


0

Since High Sierra, you can show hidden files in the Finder with the key command: Command Shift Period. This also toggles the show/hide status. No need for Terminal commands or third-party utilities, or relaunching the Finder.


3

Automatically Delete Files From Downloads Folder Daily Unless Tagged With “Keep”? The following example AppleScript code can be used in a shell script with an /usr/bin/osascript shebang, or an AppleScript script/application, or a Run AppleScript action in an Automator workflow to delete any file in the targetFolder that does not have a custom "Keep&...


0

The following AppleScript is a working version of the code you posted, if you replace <SystemDrive> and <username> with the names of your system drive and username, respectively. try tell application "Finder" delete (every item of folder "<SystemDrive>:Users:<username>:Library:Mobile Documents:com~apple~...


0

From what I can tell, tags are still called "labels" in Applescript. Finder will return a different "label index" depending on a file's tag/label. tell application "Finder" to get label index of file "path:to:file" When a file has no tags, this returns "0". When a file has a "red" tag, it returns 2,...


4

Everything is correct. This is all due to the split of the system volume (Macintosh HD or whatever you called it) into a read-only volume and a read-write volume. Start by looking at the disk with Disk Utility. Press Command-2 (or tick Menu -> View -> Show All Devices). You should see something like this (the names will be different): Within the ...


2

From comments - The method in the linked question requires Finder to be killed. This will prevent its remembering currently-open windows. It appears in the particular circumstance that Relaunching Finder is sufficient - Opt/right click in Dock - which also preserves its current structure.


4

Open Terminal.app from the utilities folder Inside the terminal window, type cd then a space Open the parent window of the directory you want a listing of in finder (One folder / directory up from the one you want a listing of. It should contain the directory you want a listing of) Drag the directory you want a listing of into the terminal window, then hit ...


1

The size of a file is amount of data (in bytes) that it contains. The size of a folder is the total size of all its files. But the space consumed on disk is nearly always a bit different and can be considerably different. Some reasons for disk space being larger than file size: Small files consume 4K (most obvious in programming project files); file ...


0

The size value is the actual size of the uncompressed files while the 'on disk' value is the amount of disk space needed to store the files. From https://superuser.com/questions/599112/mac-os-x-finder-substantial-disparity-between-size-and-on-disk-values-for-f the file size is the actual size of the data in the file while the 'on disk' size is the size of ...


2

The Show Location in Maps action in Automator takes a Photos Media Item as input, not a Finder item. In other words, it could be used in conjunction with a Get Selected Photos Item action, but not as the first action in a Automator Service/Quick Action that is set as Workflow receives current [image files] in [Finder]. Have look at: The “Show Location in ...


0

My missing drive is attached to a shared server as well. Went to the drive on the server and clicked it and keyed Cmd/I (info). I found an unchecked "Shared" box under the General tab.


0

I combined user3439894's approach with Automator. Result: ^ + ⌥+ ⌘ + v to paste the clipboard to the current folder. Step 1 Create a new "Quick Action" in Automator.app and add the following Run AppleScript block: set imageType to «class PNGf» if ((clipboard info) as string) contains imageType then set theData to (the clipboard as imageType) ...


-1

The default storage location for web server documents is /Library/WebServer/Documents. You can open this directory without any problems if you enter this code in the terminal. You will then be taken straight to the directory. open /Library/WebServer/Documents


-1

chflags nohidden /System/Volumes/Data/opt setfile -a v /System/Volumes/Data/opt


0

I've found the only software that do that conveniently and in the expected way. Good old Far manager that has a Linux(Mac) port known as Far2l When I want to copy(F5 key) or move(F6 key) a folder to a destination where the folder with the same name already exists, it merges them and does the following with the folder content: creates files if they don't ...


1

From what it looks like there isn't a decent way to do this without unloading the entire Notification Center and any other notifications alongside with it. However, as @Tetsujin noted and as many other people would also concur, for the sake of your drive and how macOS uses it I'd personally recommend just ejecting it for the sake of your data and not to risk ...


0

You try to restore previous files on iCloud.com: First, in iCloud.com > iCloud Drive, check if the files are present in the iCloud.com web view. If they are present here, download a copy first and foremost - and then you can decide how to proceed once you've secured a copy. If that doesn't work, then again in iCloud.com > iCloud Drive, click "...


-1

Turns out I needed to do a spotlight search instead of Filter/Find Finder Items in order to use a string to find the folder by its name alone (Without path). I also did not need to store the filename as a variable in order for me to accomplish this final workflow but spotlight can use a variable that is a string to search I found out. Here is my final ...


Top 50 recent answers are included