Tag Info

Hot answers tagged

20

Use rsync for this purpose since cp cannot faithfully reproduce all the files that exist on OS X. The benefits of rsync over ditto and cp are: interrupted transfers can restart easily with very little cost. restarts even resume part way through a large file. file exclusion and --dry-run allow easy testing and iterative thinning. The simplest way to use ...


10

How about the Apple OSX License Agreement: http://images.apple.com/legal/sla/docs/OSX10103.pdf in particular, Part 2, section I: I. Other Use Restrictions. The grants set forth in this License do not permit you to, and you agree not to, install, use or run the Apple Software on any non-Apple-branded computer, or to enable others to do so. Except as ...


10

Google gives the following definition of "illegal": contrary to or forbidden by law, especially criminal law However, your friend appears to have only committed copyright infringement, and possibly breach of contract if you believe that end user license agreements are enforceable contracts and that he formed a contract with Apple by using its operating ...


9

Use the -g flag. From the man page: -g Do not bring the application to the foreground. Example to open your home folder behind the current window: open . -g As a side note, it is often better to manually peruse the documentation for new commands, as the verbiage may be different from what you expect: i.e. "Do not bring the application to the ...


6

To know which shell are you using, use the following command: $ echo $SHELL It will return something like: /bin/bash or /bin/zsh After you know the shell, if the file .bashrc or .zshrc doesn't exist in your home directory (echo $HOME to find out), just create it. If you are using bash, you may have a file called .bash_profile where you can put your ...


6

Here's a function: pwdr () { pwd | sed s,$HOME,~, } Add this function to a profile file and use pwdr. In bash you can also use parameter expansion and avoid the call to sed by using the rather magically looking echo ${PWD/~/\~} The ${...} expression can be used anywhere a shell variable can be used as well, the echo is just for demonstration ...


6

Photos does not actually move the files or duplicate them when importing from an existing iPhoto or Aperture library. It simply creates hard links to the files in their original location from the new Photos library. See how Photos saves disk space on Apple's site. More on hard links from Ars Technica: A hard link is simply a reference to some data on ...


5

Preview only works with PDF files and some image files (png, jpg, gif, tiff, bmp) so you won't be able to open a text file on Preview. To open your info.txt file from terminal you need to choose an application that can open text files, like TextEdit or any other text editor. You also could use open -e file, to open any file using TextEdit.


5

The mere fact that Apple claims that creating a hackintosh violates the DMCA, and that their EULA is an enfoceable contract, does not make either so. There are rulings in their favor from the Psystar case, but it is not clear whether those rulings apply to end-users or only to companies like Psystar who were reselling hackintoshes. The chance of an ...


5

I'm not sure you can really have both… Telling Excel to close a window doesn't tell Excel to quit. It doesn't actually tell it anything other than you closed a window. It sits there waiting for you to tell it what to do next; it can't guess what your next action is going to be. Of course, if you Quit it, then it goes away & the last-used app will be ...


4

"It wouldn't be on the Internet if it was illegal". LOL! I guess he hasn't used the Internet much. Anyway, moving along... Pirated software is certainly illegal, but for the sake of discussion we'll assume that your friend owns a legal license for OS X that isn't currently being used on another computer. As mentioned in other answers, making a ...


4

Simply connect external hdd with enough storage and use Time Machine application (which is included in OS X) Here's tutorial from Apple


4

Yes, there's a way to install OS X on the SSD. It's called "install OS X on the Fusion Drive." The Fusion Drive automatically puts the most frequently-used files on the SSD. When there are vital system files that your hard drive needs to access in its every waking moment, there's really no reason why the Fusion Drive would ever demote it to the HDD.


4

In a Terminal: mdfind kMDItemKind="Application" > ~/Desktop/apps.txt This will create a file named apps.txt on your Desktop, containing the full paths for everything that OS X considers to be an "Application" on your system. This is might be a lot more than you want. You can limit the search to a given folder by adding -onlyin <dir>, so: ...


4

If you want to make a faithful copy of the filesystem contents, avoid using cp. Instead, use the ditto(1) command, which preserves hard links, file permissions, resource forks, and HFS metadata. Unlike cp, ditto is meant to preserve as much of that information as possible by default. It's just a matter of running sudo ditto src dest.


4

Yup, the system will recreate it automatically. Actually about .Trash, it is located on every drive you will connect to your Mac and where you will delete some files. Deleted files on external drive won't show in your local .Trash.


4

It's not a virus and it's not a customer facing tool since it uses the terminal. Sometimes command line tools don't even get a manual page - so this is one of the much better documented tools. The Transparent Application Lifestyle is fancy words for versions and auto-save. If you open TextEdit and make a document, you never have to save your work or choose ...


4

You can use a third party tool like Power Manager to make your Mac sleep after a period of inactivity. Unlike OS X's Energy Saver, Power Manager can put your unused Mac to sleep even when an application or process has requested otherwise. Disclaimer: I wrote Power Manager and can answer comments about how it works.


4

In this particular instance All My Files are being exclusively sorted by Tags. The problem here is that this is not exactly obvious or apparent. There are several ways to adjust how files are arranged or sorted in Finder. I find one of the easiest and most convenient ways is to: Control + Mouse Click within the window or heading. (In this case ...


3

I haven't tested the answer by @klanomath, but there used to be a Python library to get the target of an alias, but Carbon support was removed from the Apple frameworks. It can be done in Objective C see http://stackoverflow.com/a/21151368/838253. The best bet is to use symlinks, but unfortunately Finder does not allow you to create these. I have written ...


3

I would say it's simply not possible. It apparently took Apple months of effort to close this door. They specifically asked the reporter to hold long past the accepted announcement embargo period, in order to give them sufficient time to fix it before it went public. They say the reason for not back-porting it to earlier OSes is the sheer amount of effort ...


3

Searching Google for "homebrew command-not-found" (without the quotes) one of the results was: Ubuntu’s command-not-found equivalent for Homebrew on OSX I have not personally tried using it, so I cannot comment on how well it may work.


3

Apple's MacBook ports article now has a section titled "USB Target Disk Mode": USB Target Disk Mode Your MacBook with USB-C port supports USB Target Disk Mode. Enable Target Disk Mode for use with the following USB-C cables: 1) USB 3.0 or USB 3.1 USB-A to USB-C Cable Target Disk Mode can be used with this cable to manually transfer data from any ...


3

Unfortunately, you can only side-step the issue by clicking the Albums tab > Faces, and select each found face & delete it. You cannot bulk select, so this must be done manually for each face. You should log an enhancement request (or three) at the Photos Feedback page.


3

No way. I've payed plenty of money to Apple. I bought four iPhones for my family, and an iPad too. So what's wrong with running a Hackintosh? It sounds like your friend is either already aware or doesn't care that what he is doing is in violation of copyright law. I thought those people had ethics Something being illegal and something being ...


3

App Shortcuts defined in System Preferences → Keyboard → Shortcuts → App Shortcuts override the default shortcuts. Therefore, you can set up the shortcuts so that Paste is ⌥⇧⌘V and Paste and Match Style is ⌘V, as this will override the standard shortcuts.                           


3

You can do this with Keyboard Maestro. Create a macro group just for Excel, then create a macro that executes upon ⌘W which closes the window and switches focus to Finder.                  


2

After looking for it, I found it. Quite obvious actually, it is next to the former iPhoto Library. ~/Pictures/Photos Library.photoslibrary Researching a little more, because both libraries report the same size, the import from iPhoto to Photos changed all original files to hardlinks. So either library contains a pointer to one file on disk, thus saving ...


2

You should be able to do it from the terminal with ffmpeg's overlay filter ... download prebuilt binaries or install with Homebrew if you don't have it already and the command would look something like this: ffmpeg -i video.mp4 -i watermark.png -filter_complex 'overlay=10:10' outputname.mp4 That'll place watermark.png 10px in and 10px down from the top ...


2

You can't disable automatic updates for individual apps. The only options are to have automatic updates, or to not have automatic updates. It is not possible for granular control currently. You can provide feedback to Apple here: https://www.apple.com/feedback/macosx.html



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