Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2010
Wipe first and last megabyte of file
I was thinking about using dd in a script, but I'm not so experienced with it, and the man-page does not show something useful (for this job).
I've also looked into shred, since I read this on the man-page:
shred this many bytes (suffixes like K, M, G accepted)
Edit: Sorry if this is the wrong subforum, I couldn't figure out whether to use this or Misc.
dd would probably be your best bet here.
But I would be careful about using it in a script unless you're very sure about how you're writing it!
You can find some decent dd tutorials using Google.