Examples: By default, words of PURGE-OLD*: group remove only files, but by using modifier WITHDIRS, you can delete both files an directories older than a specified number of days.
Example: These words remove all the files which match a specified mask and are older then a specified number of days.
PURGE-OLD: checks the file creation date, PURGE-OLDW: checks the date when a file was last written into and PURGE-OLDA: checks the date when a file was last accessed.
If you don't change the filename when copying a file, then it would be sufficient to specify the receiving directory (without filename) in the argument FILE-RENAME: "old_filename" "new_filename" Renames a specified file.
If you use this word just to move a file without changing its filename, then it would be sufficient to specify the receiving directory (without filename) in the argument Writes content of argument "text" into a specified file, removing the file's previous content.
Current system time can be placed on stack with the help of word CUR-DATE.
Word DATE- returns the difference (in days) between 2 dates.
It is possible to use user-defined variables and nn Cron's predefined variables in arguments of word FILE-WRITE.
To write into a file quotation mark character and per cent sign character, use variables %QUOTE% and %PERCENT% respectively.
There are so many social minefields these days, and endless faux pas just waiting to happen, it is surprising we bother going out at all, or ever communicate with anyone.