Search
You can find the results of your search below.
Fulltext results:
- Rsync
- *''-a'' is the flag for archive. Keeps original dates and permissions on copy and also recurses, copie... n destination files (based upon file modification dates) *''%%--delete%%'' deletes files on the destin... is script echo "rsync wrapper script executed on `date`" >> $LOG echo "options passed to rsync: " $@ >> ... o large. # Capture scripts start time STARTTIME=`date +%s` # Location of the Log file LOG="/home/backu
- BASH Customisation
- n mixed up! Aug 23 2022 or Jan 1 11:44 for nearer dates. * ''iso'' gives 2023-01-23 for more th... s file:| <code bash> # This is my current / up-to-date list of bash aliases. # This is the exact same fi... ENT alias gcpush='echo "Usage: gcommit ../commits/date.txt" ; cd /home/$BA_USERNAME/docker ; bash script... I do not see much value in the prompt showing the date as this is shown on the main GUI screen. Referen
- SSH Notes
- echo -n " System information as of " /bin/date echo /usr/bin/landscape-sysinfo else ... r/bin/python3 import psutil import platform from datetime import datetime import cpuinfo import socket import uuid import re def get_size(bytes, suffix="B")... boot_time_timestamp = psutil.boot_time() bt = datetime.fromtimestamp(boot_time_timestamp) print(
- NFS
- re. Sadly a number of resources I use seem out of date, not updated and/or possible subject to disappear
- Back-up Server Old Setup
- e to set up was some of the worst I have found to date for Linux in the modern day. It is the only solu... vg0/xen-home/ # EXAMPLE.COM #backup_exec /bin/date "+ backup of example.com started at %c" #backup r... :/var/db/dump/ example.com/ #backup_exec /bin/date "+ backup of example.com ended at %c" # CVS.SOUR... vg0/xen-home/ # EXAMPLE.COM #backup_exec /bin/date "+ backup of example.com started at %c" #backup r
- Commonly used commands and scripts
- ipt every Monday at 00:15 15 0 1-7 * * [ $(date +%u) -eq 3 ] && /home/shared/Myscripts/server_bac... ery Wednesday at 00:15 15 0 * 3,6,9,12 5 [ $(date +%-d) -le 7 ] && /home/shared/Myscripts/server_ba... d statement to allow desired functionality. ''[ $(date +%-d) -le 7 ] && command'' means the command will only be run if the date day of month is less than or equal to 7. Similar