it's not ready for users...
the bash script you can auto syncronize folders
there are 2 configuration files
"$HOME/.kde/resyn-qt/folders_INPUT.lst"
"$HOME/.kde/resyn-qt/folders_OUTPUT.lst"
the script will read line by line the input folder to syncronize with the output folder
so you can use this script to syncronize what you want ,... harddrive phone or whatever
the udev.rules file provides to automount nokia 5800........ if you have not ... you can skip to
copy rules file ...
UDEV FILE
the udev file is this
ACTION=="add", KERNEL=="sd?", ATTRS{idVendor}== "0421", ATTRS{idProduct}=="0156", NAME="%k", SYMLINK+="Nokia 5800 Linux Rulez", OWNER="peace", GROUP="disk", MODE="0777", RUN+="/bin/mkdir /mnt/Nokia_5800"
ACTION=="add", KERNEL=="sd?", ATTRS{idVendor}== "0421", ATTRS{idProduct}=="0156",SYMLINK+="Nokia 5800 Linux Rulez", RUN+="/bin/mount -t vfat -o umask=000,utf8,sync,flush, /dev/%k /mnt/Nokia_5800"
ACTION=="add", KERNEL=="sd?", ATTRS{idVendor}== "0421", ATTRS{idProduct}=="0156",SYMLINK+="Nokia 5800 Linux Rulez", RUN+="/usr/bin/resyn-qt-bash"
ACTION=="remove", KERNEL=="sd?",ATTRS{idVendor}== "0421", ATTRS{idProduct}=="0156", RUN+="/bin/umount /mnt/Nokia_5800"
ACTION=="remove", KERNEL=="sd?",ATTRS{idVendor}== "0421", ATTRS{idProduct}=="0156", RUN+="/bin/rmdir /mnt/Nokia_5800"
like you can see it's to auto-mount nokia5800 but if you have another phone you can easly modify that rules file using this
if you have a phone attach it to your computer with usb and then type in a konsole
lsusb | grep -i Nokia
grep -i Nokia is a filter so if is a samsung .. try samsung or whatever the idea it's to get the idvendor and idproduct
for example for my nokia you have
Bus 001 Device 040: ID 0421:0156 Nokia Mobile Phones
0421 is the idVendor
0156 is the idProduct
now you can understand how to modify the rules file

Ratings & Comments
0 Comments