Advertisement
v1ral_ITS

copy any blk device to anywhere no matter the size

Jun 28th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. #!/bin/bash
  2. df -ah
  3. echo -e "\nWhat BLK device:  "
  4. read  BLK
  5.    for file in
  6.     `sudo safecopy /dev/$BLK a`;
  7.   do
  8.         sudo split -g4 "$file";
  9. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement