Exclude folders

Hello
I use the following command to list all files with their path and id
rclone lsf -F ip gdrive: --include "*.mkv"
output:
xxxxxxxxxxxxxxxx;tvshow/House/ <---- Avoid
xxxxxxxxxxxxxxxx;tvshow/House/chapter1.mkv
xxxxxxxxxxxxxxxx;tvshow/House/chapter2.mkv
xxxxxxxxxxxxxxxx;tvshow/House/chapter3.mkv
xxxxxxxxxxxxxxxx;tvshow/hearths <----- Avoid
xxxxxxxxxxxxxxxx;tvshow/hearths/chapter1.mkv
xxxxxxxxxxxxxxxx;tvshow/hearths/chapter2.mkv

I want to avoid getting the lines where only the folder appears and not files
thanks

From the docs @ https://rclone.org/commands/rclone_lsf/#options,

      --files-only         Only list files.
1 Like

it worked. many thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.