Re: Remove directory syntax.
Marcus Meissner <[email protected]> Sat, 5 Sep 2020 19:41:08 +0200
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, > Hi Marcus, > > On 05/09/2020 08:34, Marcus Meissner wrote: > > > > > As for syntax, use e.g.: > > > > gphoto2 -f /store_00010001/DCIM --rmdir 897_FUJI > > > Thanks for this. This is what I get: > > pi@raspberrypi:~ $ gphoto2 -f /store_00020001/DCIM --rmdir 100CANON > > *** Error *** > PTP General Error > *** Error (-1: 'Unspecified error') *** > > Or: > > env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -f > /store_00020001/DCIM --rmdir 100CANON > > *** Error *** > PTP General Error > *** Error (-1: 'Unspecified error') *** > > I have attached a logfile, in case it is any use. I also tried a number of > similar alternatives with and without quotes and with and without '=' signs. > > I would comment that sometimes I get 'Unspecified error' and sometimes > unknown directory. The syntax is correct. Just to be clear, the directory is already empty? But yes, as I wrote earlier, deleting folders is probably not well tested by Canon and seems buggy in some flavors. Ciao, Marcus