jedie

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by jedie

  1. I have managed to hack a script together which manages this this quite well. It should work on any Unix platform but on Mac OS you'll need to compile the hlink and hunlink programs in order for it to work. If you are not on Mac OS, you'll need to edit the script to use "ln -d" to hard link the directories.

     

    I am using this to manage the music I wish to sync to my phone, as I don't think the manual selection in the android app is very good.

    #!/bin/bashcd "/Volumes/Marceline/MusicSync/"# first unlink files which have been removedfor artist in *; do    if [ -d "$artist" ]; then      if ! grep -Fxq "$artist" "links" ; then        echo Unlinking $artist        hulink "$artist"      fi    fidone# link any new oneswhile read artist; do  if [ ! -d "$artist" ]; then    echo Linking $artist    hlink "../Music/$artist" "$artist"  fidone < links

    It needs a file, in this case links to contain a list of the directories you want linked up. Example:

    Bright EyesBryan John ApplebyConor Oberst & The Mystic Valley BandDeath Cab For CutieEdward Sharpe & The Magnetic ZerosFeist & Ben Gibbard

    It seems to work pretty well for me but obviously I have no guarantees it'll work for you. 

     

     

    This address a request of me: I would like to have only a subset of all my MP3 on my mobil.

  2. - some 400K+ files, almost 200GB volume, total tree structure has some 18K+ folders. There are about 50 synchronized folders (btsync entries) ranging from few MB up to 34 GB total volume.

    That's many, many files. Maybe to many for btsync? Somewhere was the info, that ~100Bytes RAM needed for every sync file, isn't it?

     

    I start bysync with nice and with ionice -n7

  3. On a linux system i would like to share a sync folder between different users.

     

    I installed and setup btsync for every user. Then i added the sync folder with the same secret and the same filesystem path.

     

    The problem is, that btsync says that he can't access the folder/files.

     

    The two users are in the group "users" and i have attach the user group to every folder (chown .users /share -rf) and i have set chmod g=rwxs /share -Rf

     

    So both user should be able to create/modify files...

     

    Any idea?

  4. I can't start the binary on Cubietruck with debian (a ARM board):

    btsync@cubie:~$ ./btsync_armbash: ./btsync_arm: Datei oder Verzeichnis nicht gefunden

    The error message in english is: File or directory not found.

     

    Here some info:

    btsync@cubie:~$ ls -la btsync_arm-rwxr-xr-x 1 btsync btsync 4264676 Apr 21 11:48 btsync_armbtsync@cubie:~$ file btsync_armbtsync_arm: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, strippedbtsync@cubie:~$ uname -aLinux cubie 3.4.75-sun7i+ #3 SMP PREEMPT Tue Feb 25 18:54:02 CET 2014 armv7l GNU/Linux

    What's wrong?