Rsync with progress

Mirror directory to remote with deletion of extra files

rsync -avz --progress --delete src/ user@host:/dest/

tool
linux133 commands
tags
linuxfilesystem

More linux commands

  • shred -vzn 1 /dev/sdb

    One-pass overwrite with zeros + verify (use hdparm ATA for NVMe)

  • smartctl -a /dev/sda | grep -E 'SMART overall|Reallocated|Pending|Uncorrectable'

    SMART overall health and key failure indicators

  • dd if=/dev/zero of=/tmp/testfile bs=1M count=1024 conv=fdatasync

    Write 1GB with forced sync to measure raw write speed

  • lsns -t net,pid,mnt

    List Linux namespaces for network, PID, and mount isolation

  • systemd-cgls

    Tree view of systemd cgroup hierarchy and resource assignments

all 133 linux commands