rsync_ext user@remote /remote/base/dir/ /local/target/dir/ cifrsync_ext user@remote /remote/base/dir/ /local/target/dir/ cif json POSCARExtensions may be passed with or without leading dots:
rsync_ext user@remote /remote/base/dir/ /local/target/dir/ .cif .vasp .jsonrsync_ext user@compute /remote/base/dir/ /local/target/dir/ --jump user@login cif jsonThis is equivalent to using ssh -J user@login.
- Only files matching the specified extensions are transferred
- Full directory hierarchy is preserved
- Empty directories are removed locally (
--prune-empty-dirs) - Transfers are resumable and incremental (standard
rsyncbehavior)
Add progress output:
rsync -av --info=progress2 ...Dry run (recommended for first use):
rsync -avn ...- Collecting
.cif,.vasp, or.jsonfiles from large HPC directory trees - Selective data synchronization from compute nodes
- Reproducible, scriptable file harvesting over SSH