User Tools

Site Tools


to-do

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
to-do [2017/07/09 16:41] walkeradminto-do [2023/07/26 20:49] (current) walkeradmin
Line 53: Line 53:
  
 #!/bin/bash #!/bin/bash
- 
 #Count files less than a week old #Count files less than a week old
  
Line 65: Line 64:
 echo "Find " $weekold_files_found "more than a week old files found on $right_now by $USER" echo "Find " $weekold_files_found "more than a week old files found on $right_now by $USER"
 ######### #########
- 
  
 #Delete files older than 1 week  #Delete files older than 1 week 
- 
 find "/home/charles/testarea" -type f -daystart -mtime +6 | while read x; do ls -l "$x"; done find "/home/charles/testarea" -type f -daystart -mtime +6 | while read x; do ls -l "$x"; done
 +\\ 
 +\\ 
 +backups?
  
 +\\  
 +\\  
 +testing
to-do.txt · Last modified: 2023/07/26 20:49 by walkeradmin