lucky13
Group: Members
Posts: 1478
Joined: Feb. 2007 |
|
Posted: Feb. 09 2007,14:18 |
|
Quote (Zorak_asread @ Feb. 09 2007,04:57) | What I'm trying to accomplish is the following.
Assoon as I insert an USB Stick, I want DSL to automaitcly copy all the files from the stick to a folder on hda3.
Anybody got any Ideals how to do this, I figure through a script of some sort.
Thx |
I can think of several ways of doing it, but I'm left with more questions why I'd want to do that. Are you doing this via the CD, frugal, or hard drive install?
Are you going to be using multiple sticks? If just one stick, why not just mount in emelfm and copy everything by highlighting the whole stick? Are you willing to give up your use of all USB media strictly for this use? Or would you need a way to stop and start the automatic sudo mounting and copying * to hda3? Do you want it to overwrite things in the same directory on hda3 or go to new directories each time?
Personally, I don't think it's a good idea to automatically do something like that when it's easy enough to use something like emelfm as root, highlight, and copy; or even just use your bash history (up-arrow key) to mount/umount and cp. It's not going to save you that much time unless you're copying loads of sticks on a frequent basis. And it would render USB pretty much useless for other media unless you had a stop/start to the script.
-------------- "It felt kind of like having a pitbull terrier on my rear end." -- meo (copyright(c)2008, all rights reserved)
|