Do we have any option in scp
that I could copy a sparse file ?
The following command works with ssh
, But I am looking for an option in SCP
which copies a sparse file.
tar -Szcf - /home/myself/test/ | \
ssh myself@myserver 'tar -C /home/myself/test_scp -zvxf -'
Best Answer
scp
doesn't support sparse files. Usersync
instead.