0
votes
1answer
11 views

Applescript Command as Specified User to Delete All Files in a Particular Folder

I am looking at using the POSIX path to delete the contents of a particular folder on users computers but it must be performed as a particular user. I can deploy the script silently from my side ...
1
vote
0answers
20 views

Executing 'killall Finder' in Terminal raises reopening windows popup

I open Terminal, type killall Finder, press enter to execute, then Finder icon bounces and the well known error popup appears: The last time you opened Finder, it unexpectedly quit while reopening ...
1
vote
1answer
19 views

Error: “The operation can’t be completed because one or more required items can’t be found. (Error code -43)”

I accidentally pulled an NTFS hard drive out of my Mac OSX Mavericks machine several times and realized that I accidentally created multiple entries of many different names in my /Volumes/ folder. Now ...
2
votes
0answers
15 views

OS X / Finder - Right Click “New Folder with Selection” - how to Increase the Animation Effect Speed?

10.9.x Finder The effect that pulls all the selected items into a new folder from the right click "New Folder with Selection" is really nice, but way too slow for me. Anyone know a terminal command ...
2
votes
2answers
74 views

How to keep a file hidden in Finder, but readable, writable and visible to an app?

An otherwise great app I'm using, annoys me as every time I start it, it writes to 2 files in the root of my user account which are clearly visible. Now, I have used the terminal command "sudo chflags ...
1
vote
2answers
70 views

Is there a way to rename menu items in Mac?

For example, in Finder, when you CMD+C to copy a file, the Menu for pasting it is called "Paste Item". Is there a way to rename that simply to "Paste" ? I'd like to do this for quite a few programs, ...
1
vote
1answer
43 views

How to move file from one users account to another? Permission denied.

I'm trying to move the file of a virtual machine from one users account to the other. So basically I want to move /Users/joe/Win7.vm to /Users/jane/Win7.vm but I can't figure out how to do it through ...
3
votes
1answer
37 views

Show hidden files in SELECT folder only

How do I show hidden files in one directory only? I have a development folder that I'd like to see hidden files in, but I don't want to see hidden files anywhere else on my computer. Here is the code ...
2
votes
1answer
73 views

Downloads folder is showing empty when it's not!

My Downloads folder looks utterly empty, not a single file or folder. And I have already emptied the Trash too. But for some reason, a Terminal ls run for this folder says there are 16 items! Here's ...
1
vote
1answer
66 views

Automator service for FTP

I am currently using SFTP on my MacBook to perform file transfers with my brother's Linux (Ubuntu) system. Every time we need to share a file, I start the FTP server on my Mac by running the following ...
0
votes
1answer
25 views

Terminal Equivalent of Finder Sort Order

One of the features I like about the Finder is that it sorts numbers "correctly", i.e - a file named "Episode 10" will come after "Episode 9" in a list, rather than after "Episode 1". However, I ...
3
votes
2answers
221 views

Automating ffmpeg using Automator Service

I often use ffmpeg off the command line to convert video files into mp4 on my Mac (running Mavericks). Do note, however, that I am NOT re-encoding my videos; am just changing the container from an avi ...
1
vote
1answer
24 views

Droplet Applescript Touch

i was trying the last days to get a droplet working, which is changing the time stamp of every dropped .jpg / .tif / .dsc / .cr2 to the actual time or even a few secs earlier in Terminal. Would ...
0
votes
1answer
27 views

What files do I edit to be able to maximize Finder windows to fill the screen by shift-clicking the green button?

Is there a group of files or a single file I can edit to facilitate maximizing "Finder" windows to fill the entire screen just as other application windows by shift-clicking the green plus button?
1
vote
2answers
28 views

How to find physical location of an application by name?

I can open Terminal and execute open -a "iPhone Simulator" and as long as the application is installed, it will launch. Is there a similar command that will return the path to the application instead ...
1
vote
1answer
72 views

How to open shell scripts in editor when double clicking on them

I'm trying to migrate to OS X. One thing what I find really strange / dangerous that by double clicking on shell scripts, I launch them in Terminal. I would like to change this behaviour to open them ...
1
vote
1answer
37 views

How do I tell AppleScript to read the contents of the “Network” Finder window?

I'd like to be able to get the contents of Finder's "Network" folder (Menubar-->Go-->Network). The folder contents here is different than /Network or /net. The overall goal is to grep the names in ...
0
votes
1answer
279 views

Automator: Change to selected directory and run shell script

I'm trying to create a context menu command via Automator service. The context menu command will run a shell script to create some default documents in the given directory. I wrote out the shell ...
1
vote
4answers
780 views

How do I remove crashplan from my Mac

I recently tried out CrashPlan on my Macbook, but I decided not to go through with that. However, now that I'm not going to be using CrashPlan after all, I can't figure out how to remove their app ...
0
votes
0answers
85 views

Mount Folder in Maverick

I want to mount a folder to another folder. My reasoning is: I have a free box.net account with 50GB, but it does not include versioning. So I would like to put the folder under git. But I do not want ...
0
votes
0answers
75 views

move a file, replacing existing (if any), ideally by putting existing in the trash

I am trying to find a way to automatically (without user intervention) move a file from A to B, replacing B if it exists, ideally by putting the existing copy of B into the appropriate Trash folder. ...
0
votes
1answer
316 views

Mavericks makes files synced to SMB share hidden

I have a script running by a LaunchAgent to sync a directory with a remote share. This script is fairly simple, I'll include it here just so nobody suspects the script. #!/bin/bash # Hjälpskript ...
0
votes
0answers
274 views

Why is one specific shared folder not visible in finder

Using SMB to connect to a Windows shared folder and there is a specific folder inside that share that does not show up in the Finder. A couple odd points to this: I can ls from the terminal and the ...
2
votes
1answer
112 views

How can I rename an ordered list of files with an ordered list of file names?

I have a series of files. I need to apply a series of file names. So, 001.jpg -> apple.jpg 002.jpg -> banana.jpg 003.jpg -> orange.jpg etc. I will have to repeat this for each of 16 folders with ...
0
votes
2answers
2k views

AppleShowAllFiles Command not working in Mavericks OS X 10.9

I have looked everywhere, but the command defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder and all variations thereof does not work since I upgraded to Mavericks. Why is this?? ...
0
votes
2answers
2k views

Mount Shared Drive via AFP in Terminal

I want to mount an external drive, connected on computer A, to computer B. I am able to access and mount the drive by connecting to the server through Finder (Command-K), but how can I do this exact ...
2
votes
3answers
3k views

Can't change folder permissions

I'm running Mountain Lion and I have a folder in ~/sites that has a red icon on the folder and I can't open it because 'access is denied'. What I've tried: Get Info > unlock with admin password, ...
0
votes
1answer
110 views

Finder hiding specific file by name

At some time my MBA 10.8 Finder decided (or was it me) to hide certain files from me. Here is the example (I have few other files like it) .. The Water Horse.flv Originally those files are ...
1
vote
1answer
41 views

Revert default finder

I used this command to try out an alternative finder. defaults write com.apple.loginwindow Finder /Full/Path/To/Path\ Finder.app I prefer the standard finder - but do not know how to get it back. ...
0
votes
0answers
75 views

How to send photos from Mac to Photo Stream manually

No iPhoto, no Aperture, just want to send/upload a photo using my Apple ID and browser/finder/terminal (on Mac) to Photo Stream on iCloud. Thanks.
4
votes
1answer
82 views

Is there a Terminal shell command to compare the contents of folders?

Sometimes you may want to see the differences in folders in order to: See what files are different See what files are missing See what files have been added Which may prove useful if you wish to ...
0
votes
0answers
12 views

com.apple.finder AppleShowAllFiles updates automatically [duplicate]

I have been trying to write a shell script which could toggle visibility of hidden files CURRENT_STATUS=`defaults read com.apple.Finder AppleShowAllFiles` NEW_STATUS="YES" if [ "$CURRENT_STATUS" = ...
1
vote
1answer
285 views

Copy and Paste files into the same directory using Terminal

I am currently trying to figure out how to Copy and Paste files (more than one file) into the same directory using Terminal. I am trying to create a script to create the same file. If there is a ...
1
vote
1answer
315 views

Selecting files with one extensions that have the same name as files with a different extension

I have two folders of images. In one folder there are .JPGs, e.g. 001.jpg 002.jpg 003.jpg 004.jpg 005.jpg 006.jpg 007.jpg 008.jpg in the other folder, there are .NEFs. ...
2
votes
1answer
129 views

How to open a Finder window even if one is open on a different space already, in Terminal?

I often use open . to open the current folder from Terminal.app. From time to time this doesn't work. The reason is that the folder in question is already open in some other Finder window on some ...
1
vote
1answer
452 views

How do I make a bash script so that I can drag its input on top of the icon?

I need to make a bash script to that I can drag a .rar file on top of it and then the script will receive the pathname of that file as argument 1 ($1). I have made the bash script, but how do I make ...
1
vote
1answer
2k views

Force relaunch of Finder from terminal into background

For some reason, Finder is no longer running and will not relaunch using conventional methods. I can, however, get it running with the following command in the Terminal: prompt$ open -g ...
0
votes
1answer
429 views

Python IDLE can't be opened by double-clicking .py files in Finder

I can't open .py files in IDLE by double-clicking them in Finder (IDLE is currently set as the default program for opening such files). Nor can I open those files by right-clicking and selecting ...
24
votes
2answers
677 views

How did this ominous file end up in my Application Support folder?

Deleting this file will break the whole internets, for the sake of our children don't do it!. The above quotation is the content of a text file called STR8369805638PUB6932583035105 that I found ...
0
votes
1answer
79 views

How to manually determine version control metadata for Finder?

I have a Scripts folder where I keep Automator actions, Applescripts, and shell scripts. Automator scripts are automatically assigned a version of 1.1.1 it seems. When I make revisions to any of these ...
4
votes
2answers
30k views

How do I make the hard drive visible in the Finder?

On OS X Lion I don't see the hard drive in the Finder and I seem to have no permission to create a folder under / from terminal. I know I can do this if I activate the root user, but I need to be ...
2
votes
2answers
524 views

What tools exist to rename (truncate) batches of files in OS X?

I get bunches of files I need to rename. The original filenames normally have 7 digits - plus an optional character (or two), followed by a space then a whole string of other characters. I need to ...
0
votes
1answer
72 views

File has different owner if examined using `sudo`

I have some files backed up on an external HD, and according to Finder they're all owned by my standard user account. According to Terminal, however, they're owned "unknown" if I look at them using ...
2
votes
2answers
386 views

External drive error while moving files, now folder is inaccessible from Finder

I was moving some files from one external hard drive to another, while the system froze, and I had to reboot the hard way. When I logged in again, the folder was looking semi-transparent (as it is ...
1
vote
1answer
205 views

Unzipped files mystery location?

I used the Terminal to unzip a file by typing Unzip then dragging the file to terminal. The file unzipped successfully and a few GBs were used from my SDD. However, I have no idea where the files are ...
0
votes
3answers
270 views

Producing/archiving an overview of a directory structure

I try to find a way to make an archive of my ~/ directory so that I can go back in case I've lost something. I've found several recommendations for this. The first being OS X Hints saying a simple ls ...
1
vote
2answers
731 views

Mac: how to securely delete an SD card?

Nothing I have tried gives me read/WRITE access to my SD card from my Canon camera. How can I secure-delete before selling the card on eBay? (the lock switch is on: unlocked - tried the other position ...
0
votes
3answers
461 views

Unremovable directory

I have a problem with a seemingly unremovable directory/bundle. I moved Spotify.app from /Applications to the Trash and later tried to empty the Trash. The empty trash progress bar shows up but then ...
1
vote
4answers
18k views

Where do I find my user folder in the OS X folder hierarchy?

In Terminal, how do I go from Macintosh HD to places such as johnsmith that contains Downloads, Desktop etc. In a Finder window, it seems they are independent of each other. From Macintosh HD, I see ...
3
votes
4answers
8k views

How do I search all hidden files that are in hidden folders using Terminal?

I need to find some configs buried in some hidden folders and can't recall where they are to navigate to them directly Cmd+Shift+G. I did a sudo find -name Foo* (slow), but none of the returned files ...