Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

if rsync is available it's easy:

  rsync -av lcldir/ x:remotedir/

  rsync -av x:remotedir/ lcldir/
I've gotten pretty strict about trailing slashes otherwise I end up creating directories within directories depending on whether things exist or not


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: