Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F74428573
rsync
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 27, 19:14
Size
256 B
Mime Type
text/x-shellscript
Expires
Mon, Jul 29, 19:14 (2 d)
Engine
blob
Format
Raw Data
Handle
19392851
Attached To
rARRAKIHS ARRAKIHS
rsync
View Options
#!/usr/bin/bash
DIRECTORY=/home/astro/revazy/WWW/public/arrakihs/
if [ -d $DIRECTORY ]
then
echo "local sync"
rsync -av _build/html/* $DIRECTORY/.
else
echo "remote sync"
rsync -av _build/html/* revazy@login01.astro.unige.ch:$DIRECTORY/.
fi
Event Timeline
Log In to Comment