download_inode


Description:

[ Version ( since = "1.33.14" ) ]
public bool download_inode (string device, int64 inode, string filename, Cancellable? cancellable = null) throws Error

download a file to the local machine given its inode

Download a file given its inode from the disk partition (eg. /dev/sda1) and save it as filename on the local machine.

It is not required to mount the disk to run this command.

The command is capable of downloading deleted or inaccessible files.

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

Parameters:

this

A GuestfsSession object

cancellable

A GCancellable object

Returns:

true on success, false on error