On Tue, Mar 23, 2010 at 4:56 PM, David Hilton
<[email protected]> wrote:
> It's not built into cp, you're going to have to do some magic with
> bash or some other programmable environment.

If you feel like having some fun, you could keep tabs on dmesg and
then script the mount/cp/umount process.  I'm not sure if sd card
insertion would show up in dmesg - if not, then you would have to poll
for card presence (mount every 5s?), verify that the contents should
be overwritten, and then do the cp/umount.

David
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to