[one-liner] Remove files older than
find /path/*.gz -mtime +30 -exec rm {} \;
Paweł Szaga home page
find /path/*.gz -mtime +30 -exec rm {} \;
Sets COMPUTE_COOKIE variable with cookie returned by Oracle Compute Cloud REST API: export COMPUTE_COOKIE="`curl -i -X POST -H "Content-Type: application/oracle-compute-v3+json" -d '{"user":"/Compute-DOMAIN/user@example.com","password":"PASSWORD"}' https://api-z26.compute.em3.oraclecloud.com/authenticate/ | grep Set-Cookie | cut -c13-`"
curl -T /path/file.name ftp://serverAddress/path/ --user USER:PASSWORD
Bash script for automatic KVM VMs creation from qcow2 image files. https://github.com/openterprise/scripts/blob/master/vm-create.sh
GitHub repository for scripts and other files sharing: https://github.com/openterprise/