Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # hubiC for Linux
- apt-get install libmono2.0-cil mono-runtime
- wget http://mir7.ovh.net/ovh-applications/hubic/hubiC-Linux/1.1.13/hubiC-Linux-1.1.13.22-linux.deb
- dpkg -i hubiC-Linux-1.1.13.22-linux.deb
- apt-get install -f
- ---------------------------------------------------------------------------------------
- # launch hubiC on a server via SSH
- # launch a DBus session and save to file
- dbus-daemon --session --fork --print-address > ~/.config/hubiC-DBUS
- DBSBA=$(cat ~/.config/hubiC-DBUS)
- echo $DBSBA
- export DBUS_SESSION_BUS_ADDRESS=$DBSBA
- # Once logged, your credentials will be kept in application settings
- hubic login your@mail.com /home/backup
- hubic start
- # get runing DBus session from file
- DBSBA=$(cat ~/.config/hubiC-DBUS)
- export DBUS_SESSION_BUS_ADDRESS=$DBSBA
- hubic stop
- ---------------------------------------------------------------------------------------
- # COMMANDS
- man hubic
- start
- stop
- pause
- resume
- status
- config
- publish path
- publish list
- unpublish path
- syncdir path
- synchronize
- logout
- exclude list
- --password_path=PATH
- --exclude=PATH]
Advertisement
Add Comment
Please, Sign In to add comment