find your/folder -type f -mtime +13 -exec rm {} \;
More Related Contents:
- How to loop through file names returned by find?
- Fast way of finding lines in one file that are not in another?
- How to use ‘find’ to search for files created on a specific date? [closed]
- How can I exclude all “permission denied” messages from “find”?
- Recursively rename files using find and sed
- Error when using ‘sed’ with ‘find’ command on OS X: “invalid command code .”
- How to recursively find the latest modified file in a directory?
- Delete files older than 10 days using shell script in Unix [duplicate]
- Unexpected operator error [duplicate]
- Find and replace filename recursively in a directory
- find: missing argument to -exec
- How can I get a recursive full-path listing, one line per file?
- How to go to each directory and execute a command?
- find -exec with multiple commands
- What is the best way to count “find” results?
- Looping through find output in Bash where file name contains white spaces
- Use GNU find to show only the leaf directories
- Make Bash handle variables like Batch
- Some troubles with using sed and awk [closed]
- Add a new element to an array without specifying the index in Bash
- Lookup shell variables by name, indirectly [duplicate]
- How do I use su to execute the rest of the bash script as that user?
- How to iterate over associative arrays in Bash
- How can bash script do the equivalent of Ctrl-C to a background task?
- Bash: Copy named files recursively, preserving folder structure
- Using dot or “source” while calling another script – what is the difference?
- osascript using bash variable with a space
- How to use > in an xargs command?
- How does testing if a string is ‘greater’ than another work in Bash?
- What is the shortest way to get n-th column of an output?