files in /u/appl/fp/tmp
Brian White
bw.aljex at gmail.com
Thu Feb 7 06:52:43 PST 2019
That find syntax was ok after all.
I'd also get the path from fppath rather than hard code it, just because.
This contains bash-isms, so the hashbang is not just pedantic.
#!/bin/bash
mapfile -t < /etc/default/fppath || { echo "failed to read fppath" >&2 ;
exit 1 ; }
find ${MAPFILE[0]}/fp/tmp/ -mindepth 1 -maxdepth 1 -type f -mmin +60 -delete
--
bkw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190207/149fc07c/attachment.html>
More information about the Filepro-list
mailing list