Skip to content

cleitonbueno/pydd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

pydd

Pydd it's a wrapper using the command dd Linux written in Python and using to viewer the progress of work.


Basic usage

The secret is to pass only the parameters of the dd command and run as root, only Python version 2.7.


Example

user1@my_notebook ~ $ sudo python pydd.py

        Pydd:  Um wrapper do comando dd do Linux com visualização do progresso em Python
    
    ******************
        OBS: Não é necessario entra com dd, /bin/dd ou outro caminho do binario dd
    ******************
    ******************
        Exemplo: if=/home/user/image/rootfs.img of=/dev/sdc bs=512k
    ******************
    Entre com os parametros: if=/tmp/zImage.bin of=/dev/sdb
    ******************
    ******************
    Comando + parametros: ['/bin/dd', 'if=/tmp/zImage.bin', 'of=/dev/sdb']
    ******************
    ******************
    PID: 8250
    ******************
    Gravando: (537MB)       Tempo decorrido: 42,09s     Taxa: 35MB/s

Contributing

Contact: cleitonrbueno@gmail.com


New future resources

Automate with RaspberryPI and BeagleBone Black recording images

About

Wrapper to command dd Linux writing in Python with viewer progress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages