Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
THIS IS ONLY FOR SMART TESTERS....
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
Last changelog:

0.2
fixed udev rules
fixed script to load as root
improvede the script
now you can attach nokia 5800 and it will automatically syncronize your device with default folders..


TO DO
a lots of stuff xD


Ratings & Comments

0 Comments

Be the first to comment
Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More System Tools (NOT OS or ROMS) from nowardev:

dolphin patch autoplay on video\aud file
nowardev
last update date: 11 years ago

Score 5.7

Other System Tools (NOT OS or ROMS):

KDE CDEmu Manager
marcel83
last update date: 1 year ago

Score 7.0

QPhotoRec
caezsar
last update date: 11 years ago

Score 5.7

Burg-manager
ingalex
last update date: 14 years ago

Score 7.4

Multi-Platform File Manager
Lunik
last update date: 21 years ago

Score 5.0

KFS
jrockey
last update date: 21 years ago

Score 5.0

dolphin-perforce-plugin
martin9000andersen
last update date: 11 years ago

Score 5.0



System Tags