I am looking to change a file association on the Mac using some sort of script. I know that I can do something like that in Windows using the assoc  command. Is there something scriptable on macOS which will do a similar job?
121522
I am looking to change a file association on the Mac using some sort of script. I know that I can do something like that in Windows using the assoc command.  Is there something scriptable on macOS which will do a similar job? I don’t mind whether it’s in Bash (my preference), AppleScript or something in Automator.  I am aware of the dutil command but I want to be able to do it without additional software.
121229
I am rookie in Mac and I came from Ubuntu  On my previous Dell laptop if I needed to mark some part of text in order to copy or delete it I just made one short touch on touchpad and immediately second touch (not click) and second touch I keep my finger on touchpad and than I can just move mouse and mark text.  or for example how I deleted files:  I have a file on desktop I need to trash it. I put mouse on the file make one short touch and immediately second touch and keep touch on file and now I am able to move file to trash on somewhere on the desktop.  But with mac touchpad I need make click (not just touch) and keep click with one finger and another finger I can move the file somewhere I need. Just remember how you move you file on the desktop, you use two fingers for this.  I hope I describe my problem clearly but feel free to ask  Question is : if there is some settings how to change behavior of touch click?
97990
Is there a way to define the default application for a file extension via an Apple script, command line command (like defaults write [...]).  I know that you can change it manually via the information panel or by using  but as I have to setup many machines and user accounts I would like to find a way to automate the process.
14296
I am trying to do the following on my Mac (10.6.7):  sudo chown myusername:wheel ./entries   but Unix/Mac is returning "Operation not permitted". When I ls -lash the culprit file, it looks as follows:  8 -rwxrwxrwx   1 myusername  staff   394B Apr 26 23:26 entries   I've tried sudo and sudo su; nothing works. Any ideas what's up?  I'm trying to chmod files I've copied from my old Ubuntu box. Most of the files have successfully chmod'ed recursively; just this one is stuck and I don't understand why.
83301
I'd appreciate help with a couple questions regarding standard file permissions. Assume that I'm not using access control lists.     If a file is associated with multiple groups, must all groups have the same permissions?   If the group permission includes write access, can any member of any group the file is associated with change the file permissions? Can such a person change the file owner?   Say now the file permission is rwxr----- (owner can do everything, but group members can only read). I am in the group associated with the file. I am also the file owner. Which permission am I granted? Read-only, or rwx?
43367
How can I navigate folders and subfolders at the same time?  Like "column view" in Mac OS X.    Edit 2: I use Ubuntu 14.04 and I couldn't install Marlin, so I installed "Pantheon File Manager" instead.
102559
I've got Google Drive installed on Mac OSX 10.8.4 -- I no longer work and company X and want to associate Google Drive with company Y account.   I no longer have access to the old account so I can't go through the normal process of signing in and deactivating the account. I have tried deleting and uninstalling and still am being asked to sign in as the old user.  What did I miss? Where does Google Drive store the association with the old account?
47372
On OS X 10.6 (Snow Leopard), I don't seem to be able to us the "Cut" command on a file in the Finder, like you can do in Windows Explorer on Microsoft Windows. (In Windows, once you select a file and "cut" it, you can then move to a different directory and "paste" the file to that location.)   The only way I can move a file using keyboard or contextual menu commands is to copy the file to another drive or location and then delete the old version of the file.   In the Finder's 'Edit' menu, 'Cut' is in the list but if a file itself is selected, it is always greyed out. 'Copy' is not. Why is this?
98158
How can I use my external hard drive on Mac OS so I can modify/edit files on both OS's: Mac and Windows? How should I format it?
114654
Is it possible to automatically rename a file when it's placed in a specific directory?  For example I have a directory named "dir0".I move or copy a file named "file1" to "dir0".then "file1" should rename to "file1_{current timestamp}"
98944
I have an external hard drive that I connect often to my computer. At some point it was assigned letter G: and based on that my other software works.  Nowadays, suddenly it gets letter F:  Is there any way I can use a batch script to change the letter from F: to G:. I don't mind running the batch script manually?  If so, what is the code I should use and will it need administrative permissions?
85298
I was trying to achieve this using a second account (which is the admin account) and Parental Controls, but it seemed this isn't possible to do so.  I know there are some programs which you can download that help you with this, (Cold Turkey, for example). But, it would be much easier if I could do this using only tools already available on macOS.
119729
I don't need "Ubuntu-tweak" and i know about GUI method of associating certain files with certain applications using right click and "Open with". I am having problem setting filetype association globally in a file:  /usr/share/gnome/applications/defaults.list   E.g.:  image/x-psd=gimp.desktop   If i want to open all PSD's in a photoshop, i have created photoshop.desktop file and placed it under /usr/share/applications. Now when i press Super (windows) key and type Photoshop i see that icon, but i can't:   drag'n'drop that on my desktop. How can i do that? if i change image/x-psd=gimp.desktop to image/x-psd=photoshop.desktop it still opens in a gimp. Why?   Thanks in advance.
16107
On my MacBook with OS Mojave, Command Shift Period (show hidden files) stop working. How to restore it?? Thanks in advance!
83863
Actually I want to dinamically assign bootfile-name based on clients MAC.  I have tried this config:  option bootfile-name concat( binary-to-ascii(16, 8, "", substring (hardware, 1, 6)), ".cfg");   But this is wrong config (as dhcp server isn't starting at all). If instead of concat(...) I put just real filename (e.g. "000102030405.cfg") everything is ok. But this is not what I need. Is there any way to dynamically set bootfile-name?
86326
On my mac I'm using an unjournaled HFS partition to share files between OSX 10.8 and Ubuntu 12.04. It was a nice thought at first, because Time Machine will automatically backup the volume in OSX, but I soon noticed that OSX and Ubuntu mess with the permission in a way that makes things messy for me. So, in order to fully view and change files, I keep using chmod to apply permissions that will allow me to fully use a document. But I don't understand why I have to keep applying changes over and over. Is possible to set some kind of permission permanently so that both operating systems will respect permanently? I guess 777 will work, but I thought that this is not a smart thing to do. But as long as  'others' does not get full access (third seven), I see a lock icon on the file in ubuntu.
109624
I want to copy my some files from Mac (Macbook-Air) to an USB external hard drive, formatted as NTFS.  How is it possible? Because when I do copy my files from the Mac and go to paste them on the external HD there is no option for paste.