Skip to content

Instantly share code, notes, and snippets.

@ncimino
Created September 24, 2012 23:01
Show Gist options
  • Save ncimino/3778979 to your computer and use it in GitHub Desktop.
Save ncimino/3778979 to your computer and use it in GitHub Desktop.
List Files Older than 30 days
#!/bin/sh
# Expects /path/to/dir_name
find ${1} -ls -mtime +30 -maxdepth 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment