Shell Commands/FileNote

From MorphOS Library

< Shell Commands

FileNote - Set a comment for a file


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.