Monthly Archives: October 2016

Amazon (AWS) Ec2 automatic SnapShot

Bash script for Automatic EBS Snapshots and Cleanup on Amazon Web Services (AWS) How it works: ebs-snapshot.sh will: Determine the instance ID of the EC2 server on which the script runs Gather a list of all volume IDs attached to that instance Take a snapshot of each attached volume The script will then delete all […]

Posted in CentOS, Debian, Hosting, Linux Post, RHEL, Scripting, Ubuntu | Leave a comment

Deleting files older then N days

Hello, If you have a lot of files and you want to delete a couple of them older then N days. You can use next command

this will find files in map /somewhere files older then 10 days.

Posted in CentOS, Linux Post, OS's, Scripting | Leave a comment