logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fatattr - Display or change attributes on a FAT filesystem

Author

       Written by H. Peter Anvin <hpa@zytor.com>.

Bugs

       Requires Linux kernel version 2.6.11 or later.

Description

fatattr  displays  or  changes  attributes  on  an  MS-DOS  FAT  filesystem.  If only a list of files (or
       directories) are given, it displays the attributes for those files or directories.  If given  a  list  of
       attributes,  it  will  add  (+)  or  remove  (-) the specified attributes from the given list of files or
       directories.

       The attributes are:

       r      File or directory is readonly.

       h      File or directory is hidden.

       s      File or directory is used by the system in a nonstandard way.  Standard  defragmentation  software
              will  avoid  this  file.   Microsoft  operating  systems will treat any file or directory with the
              system attribute as hidden, even if the hidden bit is not set.

       v      Entry is a volume label.  This bit cannot be changed.

       d      Entry is a directory.  This bit cannot be changed.

       a      File has been changed.  This bit is set any time a file (but not a directory) is changed,  and  is
              typically cleared by backup software.

       6, 7   Unused attributes, set to zero when the file is created and otherwise unchanged.

Name

       fatattr - Display or change attributes on a FAT filesystem

See Also

chmod(1), chattr(1)

fatattr                                          3 January 2005                                       FATATTR(1)

Synopsis

fatattr [+-rhsvda67] files...

See Also