tired of typing long paths

Tim Brody tdb01r at ecs.soton.ac.uk
Wed Mar 12 13:23:59 GMT 2008


Neal Becker wrote:
> rsync /usr/share/xemacs/blah/bla dest:/usr/share/same/long/path/here
>
> Wouldn't it be nice to have an option to just say:
>
> rsync --same-path /some/long/local/path dest:
>   
FOO=/usr/share/xemacs/same/long/path
rsync $FOO dest:$FOO

??

Cheers,
Tim.


More information about the rsync mailing list