LAPINPT

Install hubiC Linux

Nov 16th, 2013
570
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.09 KB | None | 0 0
  1. # hubiC for Linux
  2.  
  3. apt-get install libmono2.0-cil mono-runtime
  4.  
  5. wget  http://mir7.ovh.net/ovh-applications/hubic/hubiC-Linux/1.1.13/hubiC-Linux-1.1.13.22-linux.deb
  6.  
  7. dpkg -i hubiC-Linux-1.1.13.22-linux.deb
  8.  
  9. apt-get install -f
  10.  
  11. ---------------------------------------------------------------------------------------
  12.  
  13. # launch hubiC on a server via SSH
  14. # launch a DBus session and save to file
  15. dbus-daemon --session --fork --print-address > ~/.config/hubiC-DBUS
  16. DBSBA=$(cat ~/.config/hubiC-DBUS)
  17. echo $DBSBA
  18. export DBUS_SESSION_BUS_ADDRESS=$DBSBA
  19.  
  20. # Once logged, your credentials will be kept in application settings
  21. hubic login your@mail.com /home/backup
  22.  
  23. hubic start
  24.  
  25.  
  26. # get runing DBus session from file
  27. DBSBA=$(cat ~/.config/hubiC-DBUS)
  28. export DBUS_SESSION_BUS_ADDRESS=$DBSBA
  29.  
  30. hubic stop
  31.  
  32.  
  33. ---------------------------------------------------------------------------------------
  34. # COMMANDS
  35.  
  36. man hubic
  37.  
  38. start
  39. stop
  40. pause
  41. resume
  42. status
  43. config
  44. publish path
  45. publish list
  46. unpublish path
  47. syncdir path
  48. synchronize
  49. logout
  50. exclude list
  51.  
  52. --password_path=PATH
  53. --exclude=PATH]
Advertisement
Add Comment
Please, Sign In to add comment