[ubuntu-it] uno script in bash.

Mauro Sanna mrsanna1 a gmail.com
Dom 8 Set 2013 20:09:01 UTC


On 8 September 2013 19:11, Davide Depau <david.dep.1996 a gmail.com> wrote:

> On Sun, Sep 8, 2013 at 3:03 PM, Mauro Sanna <mrsanna1 a gmail.com> wrote:
>
>> Ho creato uno script elementare che monta una directory e poi lancia
>> shotwell:
>>
>> #!/bin/bash
>>
>> dir_to_mount=~/Pictures
>>
>> echo xxxx | sudo -S mount.cifs //MyPc/Pictures $dir_to_mount
>> -ouser=user%password,rw,uid=1000,gid=1000
>> shotwell
>>
>>
echo xxx | sudo -S per far si che sudo prenda la password senza doverla
digitare.
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <https://lists.ubuntu.com/archives/ubuntu-it/attachments/20130908/9ccb6712/attachment.html>


More information about the ubuntu-it mailing list