resyn-qt-bash 0.1
nowar dev
nowardev at gmail.com
Mon Oct 25 18:46:48 CEST 2010
Name: resyn-qt-bash
Version: 0.1
Type: KDE Archiving/Backup
Depend: KDE 4.x
License: GPL
Homepage:
More Info:
http://kde-apps.org/content/show.php?content=134053
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\\\\\\\"
so create those files... FIRST...
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\\\\\\\",
SUBSYSTEMS==\\\\\\\"usb\\\\\\\",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\\\\\\\",
SUBSYSTEMS==\\\\\\\"usb\\\\\\\",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==\\\\\\\"remove\\\\\\\",
SUBSYSTEMS==\\\\\\\"usb\\\\\\\",ATTRS{idVendor}==
\\\\\\\"0421\\\\\\\",
ATTRS{idProduct}==\\\\\\\"0156\\\\\\\",
RUN+=\\\\\\\"/bin/umount /mnt/Nokia_5800\\\\\\\"
ACTION==\\\\\\\"remove\\\\\\\",
SUBSYSTEMS==\\\\\\\"usb\\\\\\\",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 :)
JOB RECOMMENDATION:
------
Software Developer (PHP) - h i v e 01 gmbh - full
time employee
http://KDE-Apps.org/jobs/?id=333915
------
Linux Software Engineer (#584806) - Intel - full
time employee
http://KDE-Apps.org/jobs/?id=504391
more jobs: http://KDE-Apps.org/jobs/
More information about the Kde-announce-apps
mailing list