[Samba] SMBClient: Grepable / easy parsable output for file listing?

Andrew Walker walker.aj325 at gmail.com
Wed Apr 21 21:16:28 UTC 2021


What's the context of what you're trying to accomplish? Is using py-libsmb
an option (assuming your samba is built with python bindings)?

On Tue, Apr 20, 2021 at 11:08 PM S via samba <samba at lists.samba.org> wrote:

> Hi,
>
> Is there any way to get a clean output from SMBclient (such as just file
> names) when running operations such as “dir”?
>
> The current output can be annoying to parse, and —grepable only applies to
> -L?
>
> Thanks
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list