Re: Changing Windows hidden and system attributes?

2006-10-31 Thread Lloyd Zusman
Matthew Woehlke mwoehlke at tibco.com writes: Lloyd Zusman wrote: P.S. -- Here's my script. I call it cattrib (I'm posting via gmane, so forgive me if the indentation is screwed up): [snip script] You could probably make this even more transparent by dropping a symlink 'attrib' to

Re: Changing Windows hidden and system attributes?

2006-10-30 Thread Lloyd Zusman
Igor Peshansky pechtcha at cs.nyu.edu writes: On Sun, 29 Oct 2006, Lloyd Zusman wrote: [ ... ] Because of cygpath, filenames such as .elinks/bookmarks and .fluxbox/fbrun_history are passed to xargs like this: .elinks\bookmarks and .fluxbox\fbrun_history. [ ... ] Indeed. So

Re: Changing Windows hidden and system attributes?

2006-10-30 Thread Matthew Woehlke
Lloyd Zusman wrote: Thorsten Kampe thorsten at thorstenkampe.de writes: Yes, I know that I could put a wrapper script around attrib to apply cygpath to the argument, to name but one of several ways to solve this. In fact, I have already done this, thereby making my own cygwin-compliant analog to

Re: Changing Windows hidden and system attributes?

2006-10-29 Thread Igor Peshansky
On Sat, 28 Oct 2006, Lloyd Zusman wrote: Thorsten Kampe thorsten at thorstenkampe.de writes: * Lloyd Zusman (Fri, 27 Oct 2006 11:49:51 + (UTC)) Cygwin offers the -W, --windows extension to ps and the regtool, getfacl, and setfacl commands (to name but three) which offer

Re: Changing Windows hidden and system attributes?

2006-10-29 Thread Lloyd Zusman
Igor Peshansky pechtcha at cs.nyu.edu writes: On Sat, 28 Oct 2006, Lloyd Zusman wrote: Well, for one thing, things like this don't work: and this is what find . -type f -print | xargs attrib Yes, I know that I could put a wrapper script around attrib to apply cygpath to the

Re: Changing Windows hidden and system attributes?

2006-10-29 Thread Igor Peshansky
On Sun, 29 Oct 2006, Lloyd Zusman wrote: Igor Peshansky pechtcha at cs.nyu.edu writes: On Sat, 28 Oct 2006, Lloyd Zusman wrote: Well, for one thing, things like this don't work: find . -type f -print | xargs attrib find . -type f -print | cygpath -w -f- | xargs attrib Won't

Re: Changing Windows hidden and system attributes?

2006-10-27 Thread Lloyd Zusman
Thorsten Kampe thorsten at thorstenkampe.de writes: * Lloyd Zusman (Thu, 26 Oct 2006 11:31:39 + (UTC)) Aside from using cmd /c attrib, is there a way in cygwin for me to change the Windows hidden or system attributes of a file? Yes, attrib (without the cmd /c) That doesn't work for

Re: Changing Windows hidden and system attributes?

2006-10-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Lloyd Zusman on 10/27/2006 5:49 AM: There don't seem to be any extensions to chmod that will accomplish this, There is no concept of hidden or system as a file attribute in Linux. It's achieved via a leading dot in the file name...

Re: Changing Windows hidden and system attributes?

2006-10-27 Thread Thorsten Kampe
* Lloyd Zusman (Fri, 27 Oct 2006 11:49:51 + (UTC)) Thorsten Kampe thorsten at thorstenkampe.de writes: * Lloyd Zusman (Thu, 26 Oct 2006 11:31:39 + (UTC)) Aside from using cmd /c attrib, is there a way in cygwin for me to change the Windows hidden or system attributes of a file?

Re: Changing Windows hidden and system attributes?

2006-10-27 Thread Lloyd Zusman
Thorsten Kampe thorsten at thorstenkampe.de writes: * Lloyd Zusman (Fri, 27 Oct 2006 11:49:51 + (UTC)) Cygwin offers the -W, --windows extension to ps and the regtool, getfacl, and setfacl commands (to name but three) which offer Windows-specific (i.e., non-Linux) capabilities. I

Changing Windows hidden and system attributes?

2006-10-26 Thread Lloyd Zusman
Aside from using cmd /c attrib, is there a way in cygwin for me to change the Windows hidden or system attributes of a file? There don't seem to be any extensions to chmod that will accomplish this, and I'm wondering if there is a cygwin-specific utility that I might be able to use for this

Re: Changing Windows hidden and system attributes?

2006-10-26 Thread Thorsten Kampe
* Lloyd Zusman (Thu, 26 Oct 2006 11:31:39 + (UTC)) Aside from using cmd /c attrib, is there a way in cygwin for me to change the Windows hidden or system attributes of a file? Yes, attrib (without the cmd /c) There don't seem to be any extensions to chmod that will accomplish this,