find0


Description:

[ Version ( since = "1.0.74" ) ]
public bool find0 (string directory, string files, Cancellable? cancellable = null) throws Error

find all files and directories, returning NUL-separated list

This command lists out all files and directories, recursively, starting at directory, placing the resulting list in the external file called files.

This command works the same way as find with the following exceptions:

* The resulting list is written to an external file.

* Items (filenames) in the result are separated by "\0" characters. See find(1) option *-print0*.

* The result list is not sorted.

Parameters:

this

A GuestfsSession object

cancellable

A GCancellable object

Returns:

true on success, false on error




2022 vala-language.org