Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 446 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 446 Bytes

Transfer once

Transfer files only once using rsync

The purpose is to allow for moving/deleting files at the destination, without worrying about files being copied over additional times. By default, rsync will retransfer these moved/deleted files.

Running

To run: ./transfer_once.sh <source_directory> <destination_directory>

You can get more help with ./transfer_once.sh -h

Running tests

To run unit tests, run: bats ./tests.sh