Tag Info

Hot answers tagged

58

This is an aggregation of the answers posted on SO's deleted clone, Graphical diff for Mac OS X. It includes links to each product, and the current price since last edit in USD. Note that any links to SO will only be visible to users who can view deleted content, which requires either moderator privileges or 10k reputation on that site. Sourcegear's ...


24

FileMerge is bundled with XCode, but I prefer Kaleidoscope which is not free.


17

In order to see a list of folders with sizes you can use the du command. To make the sizes human readable use the -h option To make sum the size of child folders use the -s option (may take some time to run depending on the contents). du -hs * Here is an (uninteresting) example of the output. 0B Desktop 632K Documents 356K Downloads 76M ...


15

Your guess was correct. .ipa stands for iOS App Store Package Each .ipa file is compressed with a binary for the ARM architecture that can only be installed on iOS devices. If you change the extension to .zip you will be able to unzip it and view the contents.


14

Beyond Compare 4 now runs also on OSX. Visit http://www.scootersoftware.com/beta.php?zz=beta4_whatsnew


13

I use Kaleidoscope. Or just plain, old diff from the CLI


12

Basically, it tells an app opening the file to open a copy. You do this on files that you want to use like templates. Since the app is given a copy, you'll never accidentally change the original. Basically, it automatically copies the file into its original location (as 'name copy') and lets you work on the copy.


12

~/Library/Containers This directory serves multiple purposes, some of which may be not yet documented by Apple. Untitled, Unsaved documents for supporting applications Applications such as Preview and TextEdit. Example Copy an image to your clipboard. Open Preview, close all windows, use the New from Clipboard command, quit. Open TextEdit, close all ...


12

The + indicates the file has an Access Control List (ACL) with additional permissions. Each rule in an ACL is called an Access Control Entry (ACE). The command ls -ale will show the ACEs for each file/folder that has an ACL The default folders OS X creates when it makes a new home folder — Desktop, Documents, Downloads, Library, Movies, Music, Pictures, ...


12

The command open -a Mail.app [filename(s)] opens a "New Message" window in Mail.app, with the filename(s) attached.


11

Your frustration with the Finder is a worldwide sport :) Finder does make things harder sometimes. Finder exhibits different behavior depending upon the context (both the source and destination) of your files. If you drag files in the same "Volume" (or Drive), it will default to Move. If you drag files to a different "Volume" (or Drive), it will ...


10

It is not great, but the FileMerge bundled with the OS can be launched from the command line as opendiff a.txt b.txt.


10

As Rabarberski says, lsof can be used to find any process that has the file open. Note that you need to run the program as root, i.e., using sudo, and that you can give the pathname to the file you're interested in as an argument, so there is no need for the grep invocation in the hint that Rabarberski points to. Also, if a process holds a lock on the file, ...


10

We (the OS X users) have been asking ourselves that question since the age of dawn. Very well phrased question to a sad response: OS X doesn’t do that and can’t do it without 3rd party tools. Of the 3rd party alternatives there are a lot, I’ll just go ahead and recommend what I think it’s the best alternative to Finder, but… your mileage may vary. Path ...


10

Yes. Apps are installed to the usual /Applications folder. Non-admin users can browse the store, but they will need an admin username/password to install apps. Source: Help menu of App Store/Purchase Applications/Buy, download, and install applications/To buy, download, and install an application:/Step 4.


10

open foo.doc, or open -n foo.doc to force it to open a new window if one is already open for that app.


9

The problem: .itmsp folders are shown as files The Finder treats .itmsp folders as packages, that is, as if they were a single file. For example, in column view, anything contained within the .itmsp folder is invisible, only the document icon is shown: The Finder considers a directory to be a package if any of the following conditions is true (from the ...


9

You can put the file into an encrypted disk image. Open "/Applications/Utilities/Disk Utility" File > New > New Blank Image... In the new image dialog make sure to choose: Encryption = 128 or 256-bit AES Image Format = read/write disk image Because you chose encryption, you will be prompted to set a password for the disk image You now have a ...


9

In a nutshell, yes, this behaviour is expected. It's less than ideal but it's completely explainable and it's a biproduct of how files and directories are represented on the filesystem level. It helps to understand how files and directories are represented on the underlying filesystem via inodes. And how moving a file on the same filesystem doesn't actually ...


8

muCommander (free) muCommander has classic orthodox file manager keybindings. Sadly MC is not very mac'ish and lacks multiple tabs.


8

FileMerge (free), shipped with Xcode, offers a directory view. A command line version is available through the Terminal application opendiff.


7

The primary place to look for unsaved changes for TextEdit is ~/Library/Containers/com.apple.TextEdit/Data/Library/Autosave Information/ It depends on the state of the document, and it is complicated (since unsaved changes could also exist once the file has been saved and named the first time). Unsaved documents The first type — the "behind the ...


7

DiffMerge from Sourcegear is simple and free.


7

Services are in ~/Library/Services and yes, that is the file that handles the service you see in the services menu. Yes, you can add or remove them and they will automatically appear or disappear from the Services menu. Restart is not necessary.


7

As an alternative to deleting them, you could consider hiding them in the Finder instead. To do this, launch Terminal then enter this command: chflags hidden ~/Public ~/Sites If you ever want to make them visible again, you would use this command: chflags nohidden ~/Public ~/Sites


7

One option would be to unregister Application Loader with lsregister -u /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/, but it is registered again if it is opened, if the Launch Services database is rebuilt, or possibly if Xcode is updated. You could also comment out the entries in the CFBundleDocumentTypes and ...


7

It is possible to cut-paste files/folders in OSX 10.7 Lion's Finder (so, since 2011), but the OSX way is slightly different from the Windows way. ⌘-C (copy first) ⌘-⌥-V (now move to it's destination) So, the steps are very similar to copy-paste, but holding ⌥ (option key) moves the file/folder instead of copies it. You can also have a look in the edit ...


6

From Apple’s Launch Services Programming Guide (all emphasis mine): All applications available on the user’s system must be registered to make them known to Launch Services and copy their document binding and other information into its database. It isn’t ordinarily necessary to perform this task explicitly, since a variety of utilities and services built ...


6

There are several possibilities: Preview.app (comes with OS X) will open any PS (PostScript) file. In the background, I assume, a conversion to PDF takes place, but this should not be an issue. Adobe Illustrator can open and edit PostScript files. Shelling out a rather big amount of money for just viewing a PS file seems overkill, though. However, there is ...


6

One option would be to create an Automator service and assign it a shortcut in the Keyboard preferences. tell application "Finder" reopen activate set p to (system attribute "HOME") & "/Downloads/" set target of Finder window 1 to POSIX file p end tell You could also save the script to ~/Library/Scripts/Applications/Finder/ with ...



Only top voted, non community-wiki answers of a minimum length are eligible