Skip to content

Instantly share code, notes, and snippets.

@n1mh
Created October 30, 2017 08:49
Show Gist options
  • Save n1mh/dc6de03d8ade50bee23dfbad60edb737 to your computer and use it in GitHub Desktop.
Save n1mh/dc6de03d8ade50bee23dfbad60edb737 to your computer and use it in GitHub Desktop.
Copying files using RDP connection from a linux machine
#!/bin/bash
# I've tried to copy files from linux using vinagre (I like it most for RDP connections)
# but it is simplier that rdesktop.
#
# You just have to connect using the option -r disk:share=local_dir and go to a volume
# called 'share in your_machine' and copy the file
/usr/bin/rdesktop 10.10.10.10 -u admin -d myDomain -r disk:share=/home/n1mh/tmp
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment