Date: Thu, 17 Jun 2004 09:09:37 -0400 From: Gerard Samuel <fbsd-questions@trini0.org> To: freebsd-questions@freebsd.org Subject: Means of traversing a directory Message-ID: <200406170909.37669.fbsd-questions@trini0.org>
next in thread | raw e-mail | index | archive | help
For a shell script. The scenario. Im running tar(1) to make a tar ball of a directory using the --newer-mtime to only get newer files after a specified date. Unfortunately, it also creates unwanted "empty" directories. Is there a way to scan the directory (recursively) into an array, and loop over it, in a script? Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406170909.37669.fbsd-questions>