Debian :: Sync With OneDrive / Google Drive Or Dropbox From CLI?
Oct 2, 2015
I use my netbook as a CLI typewriter basically. Is there any way to install a service or something that would monitor a certain folder and automatically sync documents to a remote server at say 5-10 minute intervals?
I'm using a Linux machine at work, and started using at home in a VM for some home development. I have a vimrc and a bashrc with some configuration, that are useful for both machines. What is the best way to sync them? Create a symlink for each file in my home folder pointing out to a the respectives files in my Dropbox sync folder? Is this possible (delete .bashrc and create a symlink instead)?
The web browser cannot handle Google's new map layout as I experience complete freeze effect when trying to navigate in Street view. This has happened before on the same browser in its older version.
I've been a Debian convert for several years now, and generally use the Iceweasel browser (currently 31.7.0) supplied in the Debian repo. I've noticed that since Google Maps added 3-D effects to its Street View interface, and changed things up a bit, that it siezes Iceweasel. You can't "drive" the streets without the screen hanging. I'm running Debian 8 AMD64, and the free Noveau drivers for a Radeon 7570 video chipset. And I duplicated the problem on another PC with an onboard Intel video chipset.
Here's what I attempting in debugging things:
1. Installed the latest Adobe flash (not sure this was necessary). 2. Tried using the non-free ATI drivers, but ran into issues and removed those. 3. Tried tinkering with about:config webgl settings -- but there's a number of those, and I didn't know the minimal number to tweak, so I reverted back to defaults. 4. And unless I'm simply missing something, the "Lite View" option for Google Maps seems to have recently disappeared.
So Google Maps Street View still wasn't working. Then I stumbled across some references to using "force=webgl" as an URL parm in Google Maps: [URL] ....
Out of curiosity then, thinking the issue is not at my end at all, I downloaded the User Agent Switcher for Iceweasel and changed my agent's response to the latest Firefox on Windows 8.1. Reloaded the Google Maps Street View, and bingo -- it works great. Google doesn't like Iceweasel because of that name in the user agent?
This is a klunky method of using Street View, and I have filed an issue with Google (but I give that about as much odds as writing one's congresscritter). Or is there some easier way to use Iceweasel with Google Maps Street View by making more about:config webgl tweaks?
I've been looking for a good alternative to Dropbox - just a little too pricey for me. And I just discovered Amazon Cloud Drive. Has anyone here had any luck setting up some sort of automated backup solution using Amazon Cloud Drive? I've been all over their site, but I just don't see any other way to access the cloud drive other then via their web interface.
Optimally, I am looking for a solution that will allow me to simply set up an rsync script or similar that would sync up a folder to a cloud drive every few days. Maybe their S3 tools can be used to do this?
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
I'm a user of dropbox, I use it to save my pc. Today I've discovered that I do not have Dropbox installed.I tried to install it quickly, but I was unable. I receive astrange error, that seems like if I'm using a newer library.Are there some repo than I can add to try to install Dropbox by the aptitude or apt-get command?
I've tried with the help of some older topics about Dropbox to install Dropbox. But for some reason Dropbox can't be installed no longer?? Or am I searching on the wrong place?? See screenshot.
I am new using linux and don't have too much experience in terminal, however I am curious and work hard. I have an imac G5 powerpc with 2g processor, 768 mb ram and 232.7g hard disk. I recentrly installed debian 8.0.0 (jessie) with xfce environement. I have three other computers (two with xununtu runing and one with windows) using dropbox to sync all my work in differents places, so I use dropbox to get all synchronized. I don't want to change all the pc's to other cloud service, I would like to install dropbox in this machine.
I installed libnet-dropbox-api-perl, pear-channels and pho-dropbox packages from the synptic package manager with the hope to use dropbox...but I dind't even find something colled dropbox in the pc.
My question is: is it possible to install and use dropbox in this powerpc machine ? if yes, is there a tuto (for dumps) to get it ?
i've installed dropbox from URL...i started the daemon and all seems run ok.Now i want to configure the selective syn but i can't see the dropbox icon in the menu bar.i need to select preference from dropbox icon. URL...where is the icon?
I'm brand new to Linux and perhaps foolishly jumped right into Debian (Jessie). I've managed to get Dropbox downloaded/installed/whatever the proper parlance is, but in order to access it I have to input Code: Select all~/.dropbox-dist/dropboxd. When I close the root terminal, Dropbox disappears.There's no icons in the menu. Likewise with GUFW. It might be superfluous since UFW seems to be active whenever I check it through the root terminal. Is there any way to configure Dropbox to start automatically and maintain its status even if the root terminal is closed? I've looked around these forums and the internet in general and not found any similar problems. Also, I installed Spotify but whenever I click the icon nothing happens.
The searchfunction in Gnome 3 does not find the files in my DropBox. When searching it does find the DropBox folder, but not the files contained in them.
Dropbox folder is placed in /home/myusr/
All other subcontent folders in the home directory does show up in gnome search,
Went through Google and DuckDuckGo but was unble to find out how to manually change the places that the searchfunction indexes.
Have nautilus -dropbox from this page : dropbox-deb-amd64-package/.Trying to run multiple dropbox accounts on one computer, see :multiple-dropbox-instances-in-same-time.html.When I run HOME=$HOME/.dropbox-alt /usr/bin/dropbox start -i I
get : ~$ HOME=$HOME/.dropbox-alt /usr/bin/dropbox start -i Starting Dropbox...No protocol specified /usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
I am wanting to get be able to upload and get stuff from dropbox on my powerpc install of wheezy. Debian does not have the app for powerpc machine in stable or testing. There is a thunar extension in sid but i do not want to risk breaking my system so I decided to grab the wheezy source and compile myself. I am sure I have all the dependencies however I am I am getting this error. See below
Cron refuses to work when trying to sync with a network drive. I am trying to setup a cron job to backup a folder in my home directory ('/home/scratch') to a folder ('home/internet_backup') that is mounted (using nfs) to a network folder. The folder ('home/internet_backup') is mounted correctly to the network folder upon system startup, so this part works.
I created a simple bash file (rsync-shell.1.sh) that looks like this: Code: # backup the contents of 'scratch' (of 'internet' machine) into '/home/aa/internet_backup/' # the latter folder ('/home/aa/internet_backup/') is mounted to 'developer' machine rsync -av --exclude=".*" /home/aa/scratch /home/aa/internet_backup/ #
When manually running this bash file from my home directory (./rsync-shell.1.sh) everything works, and the contents are written to the destination folder. Yet, instead of running this manually, I wanted this to be executed by Cron every 30 min. so I first chmod +x this file, and then copied it (using sudo) to /root.
I then created the following using 'sudo crontab -e': Code: # m h dom mon dow command 10 * * * * /root/rsync-shell.1.sh This is the same bash file illustrated above, yet, it doesn't work (files are not being written to the destination folder).
I use jpilot on opensuse 11.3 64bit to sync pim data with my Palm Treo 680 via bluetooth. This worked fine until today. Now I get the following error message when I try to sync: Syncing on device bt: Press the HotSync button now dlp_ReadSysInfo error Exiting with status YNC_ERROR_PI_CONNECT Finished.
The last successfull sync was on the 20th October and today is the 24th October. I did not change any settings in jpilot or on my palm device. So I guess there must have been an update of opensuse which causes this error. But I do not now how to look up the updates during this period or how to undo them. Was there an update between the 20th and the 24th Oktober, which might affect either jpilot or bluetooth functionality?
I've discovered Firefox Sync a while ago, and it's absolutely awesome. Now of course I'd like most of my software to work this way! So is there a way to get the same behavior with Thunderbird?
I've got Ubuntu One syncing a single 25MB folder on 4 computers. On one of these computers, the ubuntuone-syncdaemon process constantly pegs the CPU, using from 50-80% long after any sync-able files have been modified and successfully synced. The process is only using 8.9MB of RAM.
Specs: Ubuntu 10.04 (lucid) Kernel 2.6.32-24-generic 1000.8 MB RAM Pentium 4 2.53GHz Free disk space: 280.9 GB System monitor shows 56.8% total RAM usage, 15.4% swap file usage.
Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed. -async 1 is a special case where only the start of the audio stream is corrected without any later correction.Searching the net makes one believe that this command is just some sort of magic.People just put it in the line and it just works. Isn't that nice?
It says nothing about how to change the TIME the audio starts syncing. Like do I want it to start 5 seconds delayed? Or what about 5 seconds sooner?What if the audio gets more out of sync as the video goes on? Can I slip it a little at a time? What? No magic?No one mentions a file that already has badly synced audio.So what -async 1 really does is simply start the audio at the beginning of the file. LIKE AS IF THAT ISN'T STANDARD PROCEDURE?So what is the exact solution to syncing a messed up video? And why can't it just do the proper "timestamp" sync in the first place?No docs, no info and you are left out in the cold.
My last Linux install was SUSE 6 on an early ISA based Pentium clone. I'm used to Unix / bash from OS X, MinGW, QNX & BeOS... none of these rely heavily on X. But I'm thinking that Linux is so popular, I'm doing a lot of my Windows stuff under MinGW, why not just stick Linux on and be done with it.So I've polled the various distros, I'm a power-user / dev so Ubuntu doesn't seem like me, and I'm not familiar enough with Linux to go Gentoo just yet, but the way I slim Windows and OS X installs down to just what I need. I love apt-get and like FreeBSD installs I've seen, but want some Linux kernel goodness for my self, so I have chosen Debian.
I grabbed the amd64 build of lenny DVD 1, partitioned up and installed a bare system that I can apt-get the bits I want later.Here's the problem... When the install completes rebooting sends the graphical login to a frequency my old Hanns-G TFT can't handle.I can Ctrl-Alt-F1 back to the terminal or boot in single user mode, and everything seems to be good until you go GUI.Here's what I've tried.
I've renamed /etc/X11/xorg.conf to /etc/X11/xorg.conf.oldI ran dpkg-reconfigure xserver-xorgI've reinstalled using both simple GUI and Expert GUI using both kernelsI've tried adding nvidia-* packages with apt-get and aptitudeI remember there used to be a frequency tuner app for SUSE 6 and XFree86, but it seems that sort of thing is depreciated in modern Linux.Info? My GFX card is an nvidia GT 220, the motherboard is an ASUS P5QL Pro, the Monitor (Hanns-G) is attached via RGB HD-15 D-Sub (sadly that's all I have access to right now) and it's native resolution is 1280x1024 4:3 @ 60Hz, but in heXPee it will sync at that resolution at 60, 70, 72 or 75Hz, though it does get fuzzy at 75Hz.I'm fairly certain that X is working, just not at a frequency my screen can display... how can I fix this from single user, or regular bash terminal?
---edit--- Forgot to mention I ran dpkg-reconfigure on the XServer. :s It didn't offer video drivers, only to change from gb 105 keyboard layout and ps/2 mouse. I set the META key to the logo key while I was there, but it wasn't really helpful in any other way.
I try to record video with my Win TV capture card with avconv. The exact same lines worked fine with Ubuntu 12 and with SUSE, but with Ubuntu 14, the audio is out of sync.
I'm wondering what my alternatives are when I lose power to the external hard drive where I have Debian installed. I realize that the best answer may be a battery backup UPS for the external hard drive. It seems that I recall that when a similar scenario happened on my SunOS Sparc workstation, I would simply hit [Stop-A] and then type in the "sync" command. I now have a laptop and am running Debian off of an external harddrive that has its own power supply. When I lose power, my laptop obviously continues to keep running but my session is essentially and understandably hosed because the main filesystem is not accessible. Gnome desktop goes away and I am thrown to the main console login. When power resumes, I cannot login to attempt a remount or anything. When I hit [ctrl-alt-del] thinking that that is less forceful than just holding down the main power on the laptop, I get cannot execute "/sbin/shutdown". Is there a [STOP-A] sync equilavent or some way or keyboard sequence to get to GRUB to issue a reboot command?
I'm trying to sync my clock. I think I would like to do this by the "ntpd" daemon running. I think it should start up on boot, but it doesn't.
I have the following in my /var/log/syslog: Jul 18 23:44:14 neo ntpd[1780]: ntpd 4.2.6p2@1.2194-o Sun Oct 17 13:45:13 UTC 2010 (1) Jul 18 23:44:14 neo ntpd[1781]: proto: precision = 0.634 usec Jul 18 23:44:14 neo ntpd[1781]: unable to bind to wildcard address 0.0.0.0 - another process may be running - EXITING Jul 18 23:44:14 neo ntpdate[1194]: step time server 72.26.125.125 offset -0.505108 sec
Other posts say if ntpd and ntpdate run too close together, they cause one to think the other is locking a resource. It works to type "ntpdate pool.ntp.org" to manually update the clock. My Debian version is squeeze (6.0.2)
It works to start the ntpd daemon manually: ... sudo /etc/init.d/ntp start ... Starting NTP server: ntpd.