Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised December 2023

tab(-10, AG_DIRCLEAN); dirspec, {,wildspec, flags, timelimit, bytes}; chr(127);     Tab(-10,x) Syntax Notes

AG_DIRCLEAN (114) scans a specified directory, counting and/or deleting files based on various filter attributes. See MX_DIRCLEAN for specifications on parameters.

This function has both a subroutine and a print tab implementation.

Response

status, bytes CR

status indicates the number of files matched or deleted; negative values are errors

bytes returns the number of bytes in matched or deleted files

See Also

History

2023 August, A-Shell 6.5.1740:  Function added to A-Shell.