Wrapper for uploading files using iput for iRODS 4.X.X clients.
Handles logging, checksum/size checking, iput 'large file retries', wildcards, deep directory creation, skipping existing files (when checksums and sizes match), skipping existing directories, etc.
The purpose is to:
- Imitate irsync, which is buggy and missing most of the features of iput
- Create detailed log entries of transfers (creation of directories,
individual file transfer errors, checksum comparisons) - Force users to use best practices when tranferring files (avoid using
recursive transfers, compare checksums, etc.) - Help in transferring large directories
- Provide iRODS operators better logging for debugging user file
transfers assuming users remember/are able to use the wrappper and
are able to provide the transfer logs
- iRODS 4.X.X iCommands CLI
- bash 4.2
Set the execute bit for the script
$ chmod 755 iput_wrapper.bash
Execute the script without parameters to get the help text
$ ./iput_wrapper.bash
See LICENSE.txt
Taneli Riitaoja 2015-2016