Using sitecopy during Wipy dev
Posted: Sun Nov 08, 2015 10:52 am
I thought this might be of some interest. I got fed up with manually copying files with FileZilla, and the FTP client in my usual text editor (TextWrangler) wouldn't talk to the wipy. I installed sitecopy from http://www.manyfish.co.uk/sitecopy/ and configured it's .sitecopyrc file like this :-
Then I can mirror the contents of my development directories on my desktop to the wipy simply like this :-
(I changed the config file to exclude the LICENSE file between runs)
Now I don't have to worry about missing a file in a multifile edit session. I hope this is of some use to someone.
Regards,
David
Code: Select all
site wipy
server 192.168.1.1
remote /flash/lib/
local /Users/dgs/dev/SFL525R/wipy/flash/lib/
username micro
password python
exclude .DS_Store
exclude LICENSE
exclude README.md
exclude .git*
Code: Select all
gedge:wipy dgs$ sitecopy -u wipy
sitecopy: Updating site `wipy' (on 192.168.1.1 in /flash/lib/)
Creating onewire/: done.
Creating uDS3231/: done.
Uploading onewire/__init__.py: [.......] done.
Uploading uDS3231/LICENSE: [..] done.
Uploading uDS3231/__init__.py: [..] done.
sitecopy: Update completed successfully.
gedge:wipy dgs$ sitecopy -u wipy
sitecopy: Updating site `wipy' (on 192.168.1.1 in /flash/lib/)
Deleting uDS3231/LICENSE: done.
sitecopy: Update completed successfully.
gedge:wipy dgs$
Now I don't have to worry about missing a file in a multifile edit session. I hope this is of some use to someone.
Regards,
David