[ale] chmod

DJ-Pfulio DJPfulio at jdpfu.com
Wed Dec 28 08:15:51 EST 2016


On 12/28/2016 07:50 AM, Wolf Halton wrote:
> sudo chmod 660 *.JPG

And just to point out that this isn't windows ...

$ sudo chmod 660 *JPG

Is just as legal. The extension pattern matching in Windows isn't needed
in Unix shells.  Also, matching patterns in the middle is fine.
$ chmod 660 *12_25*G
would be fine to get the JPG and MPG files from Xmas day, assuming your
recorder/camera names files like mine.

To a shell, an extension means ZERO, nothing, NADA. It is just for
humans. Although bash-completion might match patterns for certain
extensions ... evince for *pdf, for example. Extensions are optional for
Unix shells.


More information about the Ale mailing list