hjmangalam / parsyncfp

follow-on to parsync (parallel rsync) with better startup perf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trouble with spaces in the startdir path and source folder

jasonkotecki opened this issue · comments

I am trying to copy a folder that has spaces in the name as well as the startdir path to the source folder. Maybe I just have the syntax wrong, but I have tried several different ways with no luck. Below is the detail of my paths and the fpart log.

[root@cifsgw Sarah confocal]# pwd
/pri/projects/pi_lab/People and projects/Sarah/Sarah confocal

[root@cifsgw Sarah confocal]# parsyncfp --NP=4 -startdir='/pri/projects/pi_lab/People and projects/Sarah/Sarah confocal' 'AAV LPS IL4' /sec/projects/pi_lab/People\ and\ projects/Sarah/Sarah\ confocal/

[root@cifsgw Sarah confocal]# cat /root/.parsyncfp/fpcache/fpart.log.14.39.20_2020-10-27
Examining filesystem...
/pri/projects/pi_lab/People: No such file or directory
and: No such file or directory
projects/Sarah/Sarah: No such file or directory
confocal/AAV: No such file or directory
LPS: No such file or directory
IL4: No such file or directory
0 file(s) found.

I did use a single quote. I just tried again with double quotes with the same result.

parsyncfp --NP=4 --startdir="/pri/projects/pi_lab/People and projects/Sarah/Sarah confocal/" "AAV LPS IL4" "/sec/projects/pi_lab/People and projects/Sarah/Sarah confocal/"

[root@cifsgw ~]# cat /root/.parsyncfp/fpcache/fpart.log.15.33.01_2020-10-27
Examining filesystem...
/pri/projects/pi_lab/People: No such file or directory
and: No such file or directory
projects/Sarah/Sarah: No such file or directory
confocal//AAV: No such file or directory
LPS: No such file or directory
IL4: No such file or directory
0 file(s) found.

Harry, thank you for making that change. More importantly, thank you for making such a great script/tool for copying large datasets. Working for a life sciences research organization, I utilize it greatly.

-Jason