![]() Or if you have rsync and ssh on your nas, just rsync -avz /Users/username/source 192.168.1. Rsync -avz /Users/username/source "/Volumes/media/" Rsync -avz /Users/username/source "/Volumes/Bitcasa Infinite Drive/destination/" In any case, first check and mount if necessary and then start rsync when everything is set up properly not the other way round if then You can just give 192.168.1.106:/media/ as the destination to rsync and rsync will do everything necessary. Kill ps -ef | grep bitcasa | grep -v grep | awk ‘' | xargs killįor the nas, if you can log into it and install rsync and ssh (or have it already installed), you don't need to mount anything. Regarding killing a process by name sins I cant know the PID, I tried with linux command i found: If i manually mount the nfs share I will need to create /Volumes/media and this will result in that if I use the gui to mount the share will use /Volumes/media-1/ sins /Volumes/media vill already exist. Bitcasa, a cloud storage service that initially made waves with a low cost unlimited storage offer is scrapping this option entirely - claiming its not being used enough to justify the high. Indeed, users can free-up space on their machine by shifting. What is the best way to make sure a nfs share i always mounted if the nas is available? This might be handled outside the script? Bitcasa’s Infinite Drive works similar to an external hard drive, in terms of how it shows up next to your other local hard-drives. When I write this down I realize it is a bit more complicated than I first thought.įirst regarding mount a nfs share, in OsX if you eject a mounted nfs share the folder in /Volumes gets removed. crontab seam to have been removed in mountain lion. I only want the script to try a few times, if it ant ping the nas host it should give up and try the next time the script runs. If files copied successfully delete source files If file does not exist try to mount nfs share. Check if file2 exist on destination 2 (nfs share).Bitcasa simplifies storage with the Infinite Drive, which works like a magic external hard drive that never crashes or runs out of space. The company provides infinite storage, anywhere streaming access, instant sharing and automatic backup with built-in client-side encryption to ensure privacy. ![]() Try again (loop?) #bitcasa sometimes stops working and have to be restarted. Bitcasa is the creator of infinite and secure storage across all devices. If file does not exist find bitcasa process and kill it then wait 60sec then start bicasa. If exist then copy source folder to destination 1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |