% FILECHECK(1) Version 3.1.0 | Scripts Documentation % Georg Voell - georg.voell@standby.cloud % (c)2023 Standby.cloud NAME ==== **filecheck** - (BASH Script) Do some actions with files. SYNOPSIS ======== | **filecheck** \[_options_] _filename_ DESCRIPTION =========== Do some actions with files. Options ------- -h, \--help          : Displays helptext. -v, \--version         : Displays the version of the script. -x          : Test if filename is executable. If filename can't be found, try to find it in path. -f          : Test if filename exists. -d          : Test if filename is a directory. -z          : Test if filename is a zip file and not corrupt. -s          : Test if filename exists and is not empty. -sl          : Test if filename exists and has more than 1 line. -rm          : Test if filename exists and then remove it. -fc          : Test if filename was created no longer than 179 minutes ago. -fmax          : Test if filename was modified no longer than 29 minutes ago. -fmin          : Test if filename was modified no longer than 15 minutes ago. Filename ------- Name of file to test.