Linux, Devops etc

Collection of technical notes

Showing posts with label scripts. Show all posts
Showing posts with label scripts. Show all posts

Wednesday, 21 September 2011

Removing old log files from backup scripts

#!/bin/bash
# script to remove confluence backups by modification time

find /opt/ -mtime +1 -type f -exec rm -rf {} \;




### This is quite simple one
Posted by Balaji at 09:12 No comments:
Labels: scripts
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2014 (1)
    • ▼  August (1)
      • Failing ssh connections on Centos 7 docker host
  • ►  2012 (16)
    • ►  May (3)
    • ►  April (4)
    • ►  March (5)
    • ►  February (2)
    • ►  January (2)
  • ►  2011 (33)
    • ►  December (2)
    • ►  October (3)
    • ►  September (7)
    • ►  August (3)
    • ►  May (2)
    • ►  April (7)
    • ►  March (3)
    • ►  February (5)
    • ►  January (1)
  • ►  2010 (11)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  September (4)
    • ►  August (1)

Labels

  • .cgz initrd ramdisk Linux (1)
  • amanda (1)
  • amanda rsync backup remote amrestore amdump (1)
  • aws (1)
  • cloud computing (1)
  • commands (1)
  • ebtables (1)
  • extend lvm vgs (1)
  • KVM (1)
  • Linux (6)
  • LVM (1)
  • mysql (1)
  • passwordless ssh (1)
  • Redhat Linux (4)
  • root cause anlaysis (1)
  • rsync backup script (1)
  • samba (1)
  • scripts (1)
  • sed and awk (1)
  • shell scripting (1)
  • Solaris (1)
  • ssh (2)
  • syslinux (1)
  • Unix Linux (1)
  • Windows (1)
  • xen windows (2)
Awesome Inc. theme. Powered by Blogger.