Reputation: 3632
I want to copy all a folder to the remote machine with fabric
,
normally I can use the function put
,
But I just want to copy python files in the folder and not .pyc
files, so how can I process?
Thanks
Upvotes: 2
Views: 249
Reputation: 3075
For remote mode you can retrieve only the .py files by putting:
find /some/path -name '*.py'
Upvotes: 1