- Home
- All APIs
- Worldpay Total
- Secure delete instructions
Secure delete instructions
For Windows
You can download SDelete from:
http://technet.microsoft.com/en-in/sysinternals/bb897443.aspx
Steps to install and use SDelete:
Download the zip file and extract sdelete.exe file on your computer.
SDelete is a command line utility that takes a number of options. In any given use:
usage: sdelete.exe [-p passes] [-s] [-q]
... sdelete.exe [-p passes] [-z|-c] [drive letter] ... -a Remove Read-Only attribute -c Clean free space -p passes Specifies number of overwrite passes (default is 1) -q Don't print errors (Quiet) -s or -r Recurse subdirectories -z Zero free space (good for virtual disk optimization)
To specify the file/folder to delete, you can:
Type the full path to the file/folder.
Go to the folder that contains the file/folder you want to delete, then type file/folder name.
Example:
C:\Software\SDelete>sdelete.exe -p 1 C:\YESEFT\MainReceipt.txt
SDelete is set for 1 pass.
C:\MainReceipt.txt...deleted.
1 files found
For Linux (CentOS and Suse)
The Shred installation can be checked with:
Which shred
You can install Shred with this:
sudo apt-get install coreutils
Command
Shred –v –n 25 –u –z Filename
Example
Shred –v –n 25 –u –z /home/POS/YESEFT/MainReceipt.txt
For more detail, visit http://prefetch.net/blog/index.php/2006/07/25/shredding-files-on-centos-40/