Giter Site home page Giter Site logo

Comments (4)

dooblem avatar dooblem commented on June 28, 2024

Hi @tomachinz

Sorry for the (very) late response.

I corrected the "shebang" at the top of the script (first line of the script). Can you give it a try (it should be more portable).

from bsync.

tomachinz avatar tomachinz commented on June 28, 2024

Marvellous! It seems to be working. I also use this to sync my music library!

 ➜  bin which bsync
/usr/local/bin/bsync
 ➜  bin ls -la /usr/local/bin/bsync
-rwxr-xr-x  1 tom  admin  31755 11 Jul 04:26 /usr/local/bin/bsync
 ➜  bin bsync
Usage: bsync [options] DIR1 DIR2

	DIR can be user@sshserver:DIR
	-v		Verbose
	-i		Ignore permissions
	-b		Batch mode (exit on conflict)
	-p PORT		Port for SSH
	-o SSHARGS	Custom options for SSH

Many thanks!

from bsync.

tomachinz avatar tomachinz commented on June 28, 2024

(base) ➜ Music bsync "/Volumes/3tb-HFS/4TB-Backup/Music Drive/Music/iTunes/iTunes Media/Music/" "/Volumes/4TB/4TB/Music Drive/Music/iTunes/iTunes Media/Music/"
Error: local GNU find not found. (On OSX, you can download it with 'brew install findutils')

from bsync.

tomachinz avatar tomachinz commented on June 28, 2024
(base) ➜  Music brew install findutils
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles/findutils-4.7.0.mojave.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/3c609b729a1dc859459282a856ff6c164cd8388e531dad4e58c8d4c7acb670fb?response-content-disposition=attachment%3Bfilename%3D%22findutils-4.7.0.mojave.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvM
######################################################################## 100.0%
==> Pouring findutils-4.7.0.mojave.bottle.tar.gz
...
(base) ➜  Music bsync "/Volumes/3tb-HFS/4TB-Backup/Music Drive/Music/iTunes/iTunes Media/Music/"   "/Volumes/4TB/4TB/Music Drive/Music/iTunes/iTunes Media/Music/"
Loading filelists...
/Volumes/3tb-HFS/4TB-Backup/Music Drive/Music/iTunes/iTunes Media/Music/ has no permission support (fat?). Ignoring permissions.
Old filelist not found. Starting with empty history.

from bsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.