Re: Changing Windows "hidden" and "system" attributes?

2006-10-31 Thread Lloyd Zusman
Matthew Woehlke 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'

Re: Changing Windows "hidden" and "system" attributes?

2006-10-30 Thread Matthew Woehlke
Lloyd Zusman wrote: Thorsten Kampe 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 attrib. P

Re: Changing Windows "hidden" and "system" attributes?

2006-10-30 Thread Lloyd Zusman
Igor Peshansky 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

Re: Changing Windows "hidden" and "system" attributes?

2006-10-29 Thread Igor Peshansky
On Sun, 29 Oct 2006, Lloyd Zusman wrote: > Igor Peshansky 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 > >

Re: Changing Windows "hidden" and "system" attributes?

2006-10-29 Thread Lloyd Zusman
Igor Peshansky 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 a

Re: Changing Windows "hidden" and "system" attributes?

2006-10-29 Thread Igor Peshansky
On Sat, 28 Oct 2006, Lloyd Zusman wrote: > Thorsten Kampe 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-27 Thread Lloyd Zusman
Thorsten Kampe 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. > >

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 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 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 fi

Re: Changing Windows "hidden" and "system" attributes?

2006-10-27 Thread Lloyd Zusman
Thorsten Kampe 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 w

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

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