<p>I'm writing a bash script that needs to delete old files.</p>

<p>It's currently implemented using :</p>

<pre><code>find $LOCATION -name $REQUIRED_FILES -type f -mtime +1 -delete
</code></pre>

<p>This will delete of the files older than 1 day.</p>

<p>However, what if I need a finer resolution that 1 day, say like 6 hours old? Is there a nice clean way to do it, like there is using find and -mtime?</p>

-mmin is for minutes.
Try looking at the man page.
```
```
man find
```
```
for more types.