Unix/Linux Go Back    

BSD 2.11 - man page for mattrib (bsd section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

MATTRIB(1)									       MATTRIB(1)

       mattrib - change MSDOS file attribute flags

       mattrib [ -a|+a ] [ -h|+h ] [ -r|+r ] [ -s|+s ] msdosfile [ msdosfiles... ]

       Mattrib	will  add  attribute  flags  to  an  MSDOS file (with the '+' operator) or remove
       attribute flags (with the '-' operator).

       Mattrib will allow the following command line options:

       a      Archive bit.  Used by some backup programs to indicate a new file.

       r      Read-only bit.  Used to indicate a read-only file.  Files with this bit set  cannot
	      be erased by DEL.  However, mdel is more cunning.

       s      System bit.  Used by MSDOS to indicate a operating system file.

       h      Hidden bit.  Used to make files hidden from DIR.	However, mdir is more cunning.

       MSDOS  subdirectory  names are supported with either the '/' or '\' separator.  The use of
       the '\' separator or wildcards will require the names to be enclosed in quotes to  protect
       them from the shell.

       The  mcd  command  may  be  used to establish the device and the current working directory
       (relative to MSDOS), otherwise the default is A:/.


       Most versions of ATTRIB don't allow this many options.

					      local				       MATTRIB(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 01:27 AM.