A resource for storing information which is available for a computer program. Computer files can be considered as the modern counterpart of paper documents.

learn more… | top users | synonyms

59
votes
2answers
88k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
47
votes
6answers
68k views

Why are dot underscore ._ files created, and how can I avoid them?

I am using different operating systems on different machines on different locations. I am using a USB flash disk to keep my files (source codes etc.). I am new to Mac OS X and now I realize there are ...
24
votes
2answers
911 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 ...
16
votes
6answers
78k views

Is it safe to delete ~/Library/Caches?

Is it safe to delete the file Caches, in the Library of the Mac OS X Hard Drive? It's a pretty big file, 3.56 GB, Caches reminds me of logs i don't need or browser cookies. Is it safe to delete the ...
14
votes
2answers
1k views

ZIP files created with GUI have more bytes than ZIP files created in a shell

I created two ZIP files of the same directory. One with the GUI, the other with: $ zip -r alpha_cmd.zip Alpha The Alpha directory is 33.640 MB with 164 items. The ZIP file created by the GUI is ...
13
votes
1answer
7k views

Adding tags to files in OS X: How to use, where are tags stored, and will they work on a network?

I've heard it is possible to add tags to a file's meta data in OS X, and have Spotlight search through such tags. In a nutshell, how would one access this feature in Finder – not Spotlight ...
12
votes
8answers
12k views

Finder takes long time to load some folders

When opening some folders, the Finder takes a long time (30-60 seconds) to load all the files in it. Specifically, these folders typically contain 10-50 PHP files (which are text files), each about 10 ...
12
votes
2answers
22k views

How do I create a symbolic link to a directory with a space in it?

I was trying to create a symbolic link using the following command: ln -s "~/Foo Bar/" Foo ... but it didn't work (i.e. when I go into finder and try double clicking it, it says that it's pointing ...
10
votes
9answers
672 views

Trash folder is not emptying because of the P ͎̮͉͍ͨ̈́̾̈́A ͎̮͉͍ͨ̈́̾̈́I ͎̮͉͍ͨ̈́̾̈́N ͎̮͉͍ͨ̈́̾̈́.jpg file

When I cd ~/.Trash in the terminal, it shows that there is a folder Downloads, and inside the Downloads folder, another folder Reactions, and inside Reactions, there is a file called Shutting down ...
8
votes
5answers
1k views

Search file duplicates in OSX by hash

I am looking for a way to search for a determinate file in OSX (Maverick but more generally OSX). In particular I would like to do the following: given a File_001 I'd like to search if in the ...
8
votes
3answers
3k views

Resume file move after Finder crash (unmoved items appear washed out)

I was moving a large amount of data to an external drive. The Finder crashed (or appeared to restart) in the middle of the operation. Now the files appear as "washed out" in the external drive ...
7
votes
1answer
360 views

Why are Mac files able to have multiple owners?

Regarding Unix file permissions, which Macs use, why are Mac files in particular able to have multiple owners? For instance, you can view the "Get info" panel of a file, and under the Permissions ...
7
votes
2answers
2k views

What does Apple want for the WWDC Scholarship application uploads?

I am trying to submit my app for the 2013 Student Scholarship - form here (Dev program needed). However, I am confused about what it is, exactly, that they want: Here's a screenshot of the section ...
6
votes
1answer
531 views

How did the function “Save As…” change to “Duplicate”?

I recently noticed that within Pages ('09), Numbers ('09), Keynote ('09), the menu entry: File > Save As… had been replaced by a new one: File > Duplicate On the other hand I still use this ...
6
votes
2answers
381 views

How to Create New File in Selected Folder Using LaunchBar?

Using Launchbar, I'd like to be able to do the following: Navigate around by normal means in Launchbar > Once I'm in desired folder, I'd like to be able to run a command/action that asks me to enter ...
6
votes
3answers
2k views

File browser with treeview

I am looking for a file browser for Mac OS X 10.10 (Yosemite) with as many following features as possible (approximately ordered by descending importance): has a treeview along with the main pane ...
5
votes
2answers
291 views

How are paths to files and folders constructed in OS X?

I need to indicate a right file path to read a .csv file into R on OS X, but how can I find where the file is stored? Looking at Excel files, the file path starts at users/…, but there is no ...
5
votes
1answer
36k views

What format and encoding does iPhone save video clips in?

Using the default Photo/Video application. Tried to find any info regarding this on Apple's web site with no success. Does anyone have the specs on this?
5
votes
1answer
712 views

How to use Finder to find all files that do not match a certain criteria?

How can I use Finder's search feature to find all files that do not match a certain criteria? For instance, all files that don't end in ".txt" in the current folder.
4
votes
1answer
1k views

Is there a similar functionality of “Get Info” (Cmd+I) from the Mac OS X Terminal.app?

I would like to ask if in OS X there is a similar functionality of "Get Info" (Cmd+I) but from the Mac OS X Terminal.app? I mean something like finderGetInfo /path/to/a/file.ext which will output the ...
4
votes
1answer
45 views

Paste path into File Open/Save Dialog?

How do I paste a file path into a standard file open/save dialog? I have googled this and found articles that say that the normal ⌘ CMD-V will work, however it does not work for me. I'm ...
4
votes
2answers
726 views

Setting “open with” default app forever

There is a nice option in MacOS X that you can right-click on a particular file, select "open with", then select the app that you want to use to open the file type and check the mark "always open ...
4
votes
2answers
17k views

How can I change the default save location of Office for Mac?

I have Office for Mac 2011 and unlike Office PC, I can't find how to change the location where my files are to be saved. The default position doesn't suit my needs and I spend a lot of time ...
4
votes
3answers
261 views

Rename/delete files in Mac OS X save window

Is it somehow possible to rename/delete/copy files when saving a file and the Finder window pops up? I know you can do it with Windows, is it possible with Mac OS X?
4
votes
2answers
7k views

Deleting files doesn't free up space [duplicate]

I moved away (to an external drive) about 30 GB of files from a drive (startup disk) that had 60 GB of free space. After the move it still shows only 60 GB of free space, not 90, as I would expect. ...
4
votes
2answers
499 views

With FileVault enabled, do I need to overwrite my hard drive with 0's before getting rid of it?

When I give up my laptop I like to securely delete the hard drive. I would assume that since it's full disk encrypted using file vault that I should be able to just delete the real key for boot ...
4
votes
1answer
392 views

Save a file with the extension I want

In Chrome, when I download a file with an extension that the OS doesn't recognize (in this case, .erb, the dialog defaults to appending .txt to the end of it. I highlight the .txt and delete it before ...
3
votes
1answer
7k views

What is an alternative to a BAT file on Mac?

What is the alternate for BAT file (Windows) on Mac? Does different version of OS X have different format of BAT files? I am trying to create a BAT file on Mac which normally changes directory while ...
3
votes
5answers
260 views

Mass change a portion of a file name?

I have a whole bunch of files named as following (example): ADVANTE 18''8.0 PCD5'114.3 ET45 CB73.1.jpg ADVANTE 18x8.0 PCD6139.7 ET20 CB110.2.jpg ADVANTE 'A MI576B 20''8.5 PCD6'139.7 ET25 CB110.2 ...
3
votes
3answers
3k views

Copy new files only - is this possible? Basically want to merge two folders

I have a folder on Drive 1 called Music, and it is 100GB. I have a folder on Drive 2 called Music, and it is 116GB. It's the most updated version. How do I copy the Music folder from Drive 2 to Drive ...
3
votes
2answers
56 views

Where VIM keep its recordings?

I was trying to use VIM and it kept blinking "recording" all the time. Now I know that it means VIM was recording what I was typing. Where does it keep these recordings? I would like to delete these.
3
votes
1answer
1k views

How do I batch set the files “date modified” to the “date created”?

I have a folder with a bunch of photos taken by two different cameras, with one camera having been set to the wrong date. I managed to correct the EXIF date using Picasa (see photo.stackexchange), but ...
3
votes
1answer
72 views

How do you close a file that you've opened with /usr/bin/open?

I've opened a PDF file with /usr/bin/open, and now I'd like to close it from the command line. (I'm writing a script.) How might one go about doing that?
3
votes
2answers
449 views

My macbook thinks .as files are zip files (and they won't open in XCode)

I've got some old .as files from a project I was working on on a different mac a long time ago. I was trying to open one of them just to try and remember something. But for some reason my mac thinks ...
3
votes
2answers
1k views

file transfer from Tiger (10.4.11) to Mountain Lion (10.8)

Will Migration Assistant let me transfer my files from my old Mac running Tiger 10.4.11 to Mountain Lion? I've read that it does not support moving files from 10.4 to Mountain Lion and didn't know if ...
3
votes
1answer
146 views

Find files created by program

Is there an app out there that lets you see what files were created by a program? Basically I need to figure out where a lock file for a Java program is.
3
votes
1answer
482 views

Keynote - How do I get rid of the default background images?

So. I'm using keynote to build slides for church music overheads. This means I need to build a different slide deck for each song we sing, so that we can change out the songs from week to week. ...
3
votes
1answer
2k views

How can I get my AppleScript code to move files?

Having used Automator to organise files by file extension successfully before, I decided to create an AppleScript application that will save me having to change parameters manually, as Automator ...
3
votes
1answer
5k views

How can I cut down on the size of iMovie Library.imovielibrary?

I recently noticed that the file at ~/Movies/iMovie Library.imovielibrary is taking up an awful lot of space: Is there a way to make it smaller? I don't have anything important in iMovie - what ...
3
votes
3answers
512 views

How can I disassociate a single app (e.g., XCode) from all file types it's mapped to? [duplicate]

Possible Duplicate: How to Change File Type Associations? Every time I get a machine that I install XCode on, it associates itself with all kinds of filetypes. E.g., .xml, .rb, even .java! ...
3
votes
1answer
143 views

Deleting undated files from Time Machine

I just bought a new MacBook Pro with Lion. I restored my files and apps from the MacBook with Snow Leopard, etc., from Time Machine. All seemed to have uploaded correctly, but after using several ...
2
votes
6answers
3k views

File sharing between Mavericks and non-Macs

I am using a MacBook running Mavericks and my brother is on a Linux box; and we often need to exchange files between each other. Both the laptops are Wi-Fi enabled and I also understand that Mac does ...
2
votes
3answers
6k views

How to restore default fonts on Mavericks?

I have deleted the Lucida Grande font from my system, and system bars and menus are full of weird characters. I cannot use my MBA properly. How can I restore system fonts without losing my data?
2
votes
2answers
280 views

Copy contents of a file

I am trying to copy a whole bunch different files' contents into one big file. Is there a way to do this without having to open up each individual file and copying and pasting the contents? Is there a ...
2
votes
2answers
105 views

How to play AVI files on MacBook Pro

Using GoPro software, I had imported videos to PC. However when I bought a new macbook pro, I transferred all files onto an external Hard Drive. They are currently in .avi format. I am struggling to ...
2
votes
1answer
71 views

Size in bytes is significantly less ( half the size) then size in MB in get info window

In the get info window it says 387,037,139 bytes which is 387 MB whereas the size on disk is 716.9MB which is 716,900,000 bytes. du -sh paramgen result (in MiB) 684M paramgen Why is there such ...
2
votes
2answers
538 views

How to restore a removed /bin/sh file?

I have followed a guide online which requested me to run this command: sudo cp /opt/local/bin/node /bin/sh It was a guide for fixing LESS. Instead of fixing it, it only made it worse. I have lost ...
2
votes
1answer
71 views

Can I open a file in Preview from the Terminal?

I know that I can open a file with an external program from the Terminal with open, and that works for most applications. However, when I try to use a command like open -a Preview info.txt, it ...
2
votes
1answer
91 views

Is there a Byte-By-Byte Duplicate File Removal app for Mac? (not SHA-1 or MD5 hash!)

I recently switched to Mac and spent way too many hours on PC trying every duplicate removal app, eventually discovering that byte-by-byte checking was necessary to get accurate (safe) results, and ...
2
votes
2answers
376 views

How to force Finder to update file thumbnails?

Recently I updated album covers in most of my mp3s, but their respective thumbnails on Finder did not get updated. Things I tried: Removed (rm ~/Library/Preferences/com.apple.finder.plist) without ...