Shell Commands/FileNote

From MorphOS Library

Revision as of 11:35, 3 March 2015 by JPV (talk | contribs) (Created page with "'''FileNote''' - Set a comment for a file FILE/A, COMMENT, ALL/S, QUIET/S <nowiki> FILE - name of the file to attach a comment COMMENT -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

FileNote - Set a comment for a file

FILE/A, COMMENT, ALL/S, QUIET/S

FILE    - name of the file to attach a comment                                 
COMMENT - string to attach to the file
          if this argument is omitted, any existing filenote
          is deleted from the named file.
ALL     - adds the COMMENT to all the files and subdirectories
          matching the pattern entered.
QUIET   - suppresses error messages

If the COMMENT includes spaces, it must be enclosed in double quotation marks.

NOTE: To include double quotation marks in a filenote, each literal quotation mark must be immediately preceded by an asterisk (*) and the entire comment must be enclosed in quotation marks, regardless of whether the commend contains any spaces.

NOTE2: File comments are limited to 79 characters.