Skip to content

AndyCrowd/genwipe.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

genwipe.sh

##Use valid path to the storage device! ##The script reading data from /sys/block/

Usage:

##To show calculated examples for "dd" and "pv"

genwipe.sh /dev/sdXY

##To execute examples

genwipe.sh /dev/sdXY | cut -d# -f2 | xargs sh -c

##If you dont have "pv" installed then you can skip it:

genwipe.sh /dev/sdXY | cut -d# -f2 |grep -v pv| xargs sh -c

##To update information about partitions use:

partprobe

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages