chmod problem

James Wilkinson ubuntu at westexe.demon.co.uk
Tue May 10 12:24:00 UTC 2005


Alf-Ivar Holm wrote:
> As the ".*" is expanded by the shell, you can get the list of files
> given to chmod by issuing "echo .*" in the same directory. Your
> assumption about sorting is right (at least if you were using
> bash(1)).

FWIW, what the Original Poster probably wanted was the shopt -s dotglob
command, which makes the shell expand * to include everything beginning
with a dot *except* "." and "..".

https://www.redhat.com/archives/fedora-list/2004-July/msg05222.html

James.

-- 
E-mail address: james | Space Opera: General term for a subgenre of adventure
@westexe.demon.co.uk  | SF in which the men are heroic, the women beautiful,
                      | the monsters monstrous, and the spaceships make
                      | whooshing sounds in hard vacuum. -- Eric Raymond




More information about the ubuntu-users mailing list