Skip to content
Snippets Groups Projects
Commit 266a2cdc authored by Walmes Marques Zeviani's avatar Walmes Marques Zeviani
Browse files

First version of a pre-push script to upload to puclic folder.

parent aba2796b
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# To use this script, copy it to .git/hooks.
# Return the content in the public datasets folder.
# ssh leg@$PATAXO -p$PATAXOP "ls -la ~/public_html/legTools/datasets"
# Tranfering data-raw/*.txt files.
rsync -avzh --progress data-raw/*.txt -e "ssh -p $PATAXOP" \
leg@$PATAXO:~/public_html/legTools/datasets/
# Tranfering vignettes/*.html files.
# Tranfering manual in pdf, zip and tar.gz source files.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment