rsync file to file without specifying the parent folder as a destination?
Hello,
i see the way to copy the file using rsync is to specify the destination folder.
But how can i please copy using rsync while the destination is not folder but the full path to file?
var=/path2/file
rsync -av /path1/file $var
Last edited by postcd; 11-20-2020 at 04:23 AM.
|