How do I duplicate the permissions of one file to another file from Mac OS shell?
February 18, 2013 in Mac Tips, Recipes, Shell
Like this: chmod `stat -f %A srcFile` dstFile The same command can be used also on folders. Note that the option –reference discussed here will not work on Mac OS.
…read more

Recent Comments