KA_762
October 5, 2020, 5:02pm
21
How do I use --drive-export-formats=desktop
with --include
to get just the Google format files?
Example: With --drive-export-formats=url
I can use --include *.url
. This by nature excludes all the other superfluous documents.
EDIT: --include *.desktop
>facepalm<
asdffdsa
(jojothehumanmonkey)
October 5, 2020, 5:17pm
22
here is my test folder and command and output
rclone.exe ls gdrive-a1b2:x --exclude={*.pptx,*.xlsx,*.docx} --drive-export-formats=ods,odt,odp
-1 slide.odp
-1 doc.odt
-1 sheet.ods
asdffdsa
(jojothehumanmonkey)
October 5, 2020, 5:39pm
23
rclone.exe lsf gdrive-a1b2:x --exclude={*.xlsx,*.pptx,*.docx} --drive-export-formats=ods,odt,odp 1> list.txt
this will give you a text file like this.
now, you know
the name of the file
the file type
doc.odt
sheet.ods
slide.odp
system
(system)
Closed
December 5, 2020, 1:39pm
24
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.