fls-bioinformatics-core / auto_process_ngs

Scripts and utilities for automatic processing & management of Illumina NGS sequencing data.
Other
9 stars 6 forks source link

Escape spaces in 'source' and 'target' for 'rsync' commands #822

Closed pjbriggs closed 1 year ago

pjbriggs commented 1 year ago

Updates the general.rsync command generation in the applications module so that space characters in the 'source' and 'target' arguments (which specify the locations to be rsynced from and to) are escaped when the command is generated.

For example: user@example.ac.uk:/mnt/data/230109_A01234_0050_ABCDE1X2/NovaSeqRun SampleSheet.csv becomes user@example.ac.uk:/mnt/data/230109_A01234_0050_ABCDE1X2/NovaSeqRun\ SampleSheet.csv