scrub_file


Description:

[ Version ( since = "1.0.52" ) ]
public bool scrub_file (string file) throws Error

scrub (securely wipe) a file

This command writes patterns over a file to make data retrieval more difficult.

The file is *removed* after scrubbing.

It is an interface to the scrub(1) program. See that manual page for more details.

This function depends on the feature "scrub". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error