Home » Questions » Computers [ Ask a new question ]

How do I set/clear the Windows archive bit with cygwin’s find/chmod?

How do I set/clear the Windows archive bit with cygwin’s find/chmod?

Yes, I know, the archive bit is evil.

Asked by: Guest | Views: 290
Total answers/comments: 1
bert [Entry]

"I'd use find + attrib:

$ find . -option whatever -exec attrib -A {} \;

attrib is the old DOS command for setting & clearing those attributes. This works for me on WinXP Pro SP2; no idea if attrib is still available on Vista/Win-7."