2
votes
1answer
167 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 ...
1
vote
0answers
44 views

How can I open/use a .ZFS file in OS X?

I've got a .zfs file that holds mapping files. I want to know if I could open it up or use it on OS X. I need to get into it to change the maps.
1
vote
2answers
44 views

How to backup Console logs?

I'd like to make backup of some specific console logs. How do I find the location of a specific Console log file on my Mac to copy as back up?
1
vote
2answers
66 views

OS X: Specifying custom command line invocation of program as application for opening files on double click

I'm primarily a Linux user who recently acquired a MacBook Air and I'm currently desperately trying to find out whether there's an equivalent for Linux's desktop definition files, where you can define ...
0
votes
2answers
126 views

Free app to detect & delete duplicate files from my Mac

I am just wondering is there any way to find duplicate files on my Mac? For example: when I download something from bittorrent, some unnecessary files also download along with the main file with ...
3
votes
1answer
392 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 ...
2
votes
1answer
44 views

How do I copy files off a failed system partition without encountering permissions problems?

So I'm about to copy files off a system partition, and I'm afraid I'll have problems with permissions. A bit of background - OS X won't boot (looping progress bar) and Mavericks Recovery's Disk ...
3
votes
1answer
150 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
2answers
221 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 ...
5
votes
2answers
276 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 ...
2
votes
1answer
40 views

Open files with same extension in different directories with different applications

Say I have mp3 music in directory 'A' which I want to open with iTunes. And I have some more mp3 files in directory 'B' which I want to open with VLC player. How can I set the default 'application' ...
6
votes
6answers
14k 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 ...
6
votes
2answers
531 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 ...
11
votes
2answers
13k views

How can I create a symbolic link in Terminal?

I know how to delete a symbolic link/soft link by using command rm in Terminal but I was wondering what command is used to create one?
2
votes
1answer
145 views

Is it safe to delete dSYM files on Mac OS X?

I've got a few large dSYM files on my machine, installed by the Qt Framework. As I understand they are used for debugging, however I don't actually need to debug the library itself. Is it safe to ...
2
votes
3answers
2k 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
1answer
51 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 ...
0
votes
1answer
40 views

Is it possible to define template files for the context-menu?

I often have to generate files (for example letters), which should have a certain content at the beginning (e.g. letter head,...). In Many Linux-Distributions there is a folder called ~/Templates - ...
1
vote
2answers
107 views

How can I edit a file without altering its modif date?

How can I edit a file without altering its modification date ? In command line. Is vi able to that ?
0
votes
1answer
112 views

prevent mac from renaming downloads' extensions

Sometimes I download something, and OS X (or Chrome, not sure) decides that the file extension must be changed. Is it possible to completely disable this feature? How? I guess this is a Google ...
7
votes
1answer
223 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 ...
3
votes
2answers
4k 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. ...
7
votes
1answer
1k 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 ...
-1
votes
3answers
772 views

Delete junk files in Os X 10.8.4

On my computer i have got 30GB of junk files. I looked for it everywhere. In both Librarires and other folders. So, is there some method to identify those files and delete them? Some kind of script or ...
1
vote
2answers
248 views

How to create own filename extension?

I want to have an extension, named .content, to store all files in it that are linked to the filename. The extension ".content" should be recognized by the OS as a file extension rather than a regular ...
2
votes
1answer
971 views

Reduce image file size to certain size

I have some tiff files of (scanned docs) which are too large than required. I tried to export with Preview while applying filter "Reduce File Size". The new file came out to be quite small 36KB ...
2
votes
2answers
295 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 ...
1
vote
1answer
117 views

I've wiped my WiFi icons and don't know which file to restore

I've been playing around with theming OS X, and in changing my menu bar icons to be white (to contrast my now-black menu bar) I've overwritten the original icons (and forgot to back them up). Can ...
1
vote
2answers
4k views

Does OS X enforce a maximum filename length or character restriction?

What is the maximum filename character length of files in OS X? Of secondary importance is whether some characters are allowed/disallowed in addition to any overall length restrictions.
2
votes
1answer
240 views

Can the Date Created metadata be changed after the fact on OS X?

I have a movie file. It was taken back in October but the date created is from last week. How can I change the date created information in the file?
2
votes
0answers
415 views

Double-clicking file from Finder does not open it in application [closed]

I have installed an application that is associated with a particular file type. When I double click a file of that type in Finder, the application starts, but does not open the file that was clicked. ...
8
votes
1answer
6k 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 ...
31
votes
4answers
39k 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 ...
2
votes
1answer
344 views

Force a file to overwrite instead of appending

I've got an application that won't overwrite a file with the same filename. It will only append the filename with a 'space 1'. If I write a file more than once I get something like this: ...
9
votes
2answers
13k 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 ...