KPTree Wiki

  • Page Tools
    Show pageOld revisionsBacklinks
  • Site Tools
    Recent ChangesMedia ManagerSitemap
  • User Tools
    Log In

Search

You can find the results of your search below.

Starts with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@home_server:home_server_setup:other_services
  • Any namespace
Past year
  • Any time
  • Past week
  • Past month
  • Past year
Sort by last modified
  • Sort by hits
  • Sort by last modified

Fulltext results:

Rsync
16 Hits, Last modified: 6 months ago
*''-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
4 Hits, Last modified: 6 months ago
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
4 Hits, Last modified: 6 months ago
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
1 Hits, Last modified: 6 months ago
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
17 Hits, Last modified: 6 months ago
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
7 Hits, Last modified: 6 months ago
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