mattrib - Online Linux Manual PageSection : 1
Updated : 21Mar23
Source : mtools-4.0.43

Namemattrib - change MSDOS file attribute flags

Note of warningThis manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details.

DescriptionMattrib is used to change MS-DOS file attribute bits. It has the following syntax: mattrib [-a|+a] [-h|+h] [-r|+r] [-s|+s] [-/] [-p] [-X] msdosfile [ msdosfiles ​... ] Mattrib adds attribute bits to an MS-DOS file (with the `+' operator) or remove attribute bits (with the `-' operator). Mattrib supports the following attribute bits: 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 nor modified. s   System bit. Used by MS-DOS to indicate a operating system file. h   Hidden bit. Used to make files hidden from DIR. Mattrib supports the following command line flags: /   Recursive. Recursively list the attributes of the files in the subdirectories. X   Concise. Prints the attributes without any whitespace padding. If neither the "/" option is given, nor the msdosfile contains a wildcard, and there is only one MS-DOS file parameter on the command line, only the attribute is printed, and not the filename. This option is convenient for scripts p   Replay mode. Outputs a series of mformat commands that will reproduce the current situation, starting from a situation as left by untarring the MS-DOS file system. Commands are only output for attribute settings that differ from the default (archive bit set for files, unset for directories). This option is intended to be used in addition to tar. The readonly attribute is not taken into account, as tar can set that one itself.

See AlsoMtools' texinfo doc

Viewing the texi docThis manpage has been automatically generated from mtools's texinfo documentation. However, this process is only approximative, and some items, such as crossreferences, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate representation in the manpage format. Moreover, not all information has been translated into the manpage version. Thus I strongly advise you to use the original texinfo doc. See the end of this manpage for instructions how to view the texinfo doc. *     To generate a printable copy from the texinfo doc, run the following commands: ./configure; make dvi; dvips mtools.dvi *     To generate a html copy, run: ./configure; make htmlA premade html can be found at ​`http://www.gnu.org/software/mtools/manual/mtools.html' *     To generate an info copy (browsable using emacs' info mode), run: ./configure; make info The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info.
0
Johanes Gumabo
Data Size   :   14,221 byte
man-mattrib.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 198,463
Visitor ID   :     :  
Visitor IP   :   18.117.72.24   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.