1
vote
1answer
15 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
21 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
25 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
50 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
30 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
125 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
3answers
200 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
64 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
46 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
248 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
112 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
84 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
963 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
944 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
2k 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
94 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
39 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
71 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
76 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
210 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
249 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
103 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
329 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
0answers
29 views

Laptop crashed while downloading files using FileZilla, now those files only show up in FileZilla browser and can't be overwritten. How to delete?

My laptop crashed while downloading files using FileZilla. Now those files only show up in the FileZilla browser and they can't be overwritten. I can't see them in Finder or in Terminal. How do ...
0
votes
1answer
363 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
657 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
73 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 ...
3
votes
2answers
22k 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
451 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
71 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
336 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
176 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
235 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
693 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
440 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
13k 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
3answers
7k 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 ...
3
votes
2answers
387 views

Add shortcut for multiple terminal commands?

I find myself doing this too often - navigate to a folder, "Open Terminal Here", then "mate .", then "python -m SimpleHTTPServer" I was wondering if it's possible to add a button to the finder ...
2
votes
5answers
3k views

In Terminal, can I find out the current Finder folder?

It is commonly asked how to get a Terminal prompt from a Finder window. I am asking the opposite. I would like a command-line way of determining the working directory of the "current" Finder window. ...
1
vote
2answers
518 views

How do you list items with and without labels from the terminal?

Is there a command that can tell the label status (labels as applied in the info menu in the finder cmd+i) of an item from the command-line in OS X? Essentially, I just want to list all the items with ...
5
votes
2answers
1k views

How can I merge two similar-but-not identical folders?

I have a folder (which is filled with many many sub-folders and files) which is on a FireWire drive [source] which I am trying to move to a USB drive [destination]. I am trying to move all of the ...
4
votes
1answer
490 views

Force Spotlight to index a normally un-indexed folder

Spotlight only indexes a limited number of folders and doesn't index all of the files on your system. This makes sense and for the average user this usually isn't a problem. However, I recently ...
3
votes
2answers
361 views

Change the default action to open executable files in the editor instead of Terminal

When double clicking an executable file (without a file extension) in Finder, it opens in Terminal by default. I can change that to any other application for this single file, but I cannot change the ...
4
votes
3answers
771 views

How do I make symbolic links invisible in the Finder?

I use SetFile via the terminal to render files and folders invisible inside Finder windows. This does not appear to work on symbolic links: the symlink destination is made invisible, rather than the ...
6
votes
3answers
210 views

Moving folder to Trash in Finder is not synchronized with Terminal

I tried to delete a folder which I access via terminal.app. Though the Finder moved the folder to the Trash, I was still able to see the contents and edit the file from terminal. created a textfile ...
4
votes
3answers
13k views

uh oh. -bash: ls: command not found

I installed the most recent mac update to OS X Lion (10.7). After I did that, my terminal won't recognize normal commands. I type 'ls' and get: -bash: ls: command not found I figured I'd try to ...
17
votes
1answer
8k views

Open Finder window from current Terminal location?

If I am in a specific path in a Terminal window, how can I open that same window in a new Finder window? Note: This is the opposite of opening a Terminal from Finder.
3
votes
2answers
7k views

“Macintosh HD” no longer shows up in Finder on Lion

How do I get to the Macintosh HD, or the root folder, from Finder in Lion? It no longer appears in the favorites section. I know I can open it from Terminal, but I want to do it in Finder easily like ...