magnusja / libaums

Open source library to access USB Mass Storage devices on Android without rooting your device
Apache License 2.0
1.26k stars 270 forks source link

about with Folder operation #303

Closed AtenzaZoom closed 3 years ago

AtenzaZoom commented 3 years ago

I had some problem,Copy files can be used,but how can i copy the folder? And how can i decompress the files in the USB flash drive

magnusja commented 3 years ago

For copying a folder see example app.

Decompressing is out of scope of this library. But you have raw byte access to files so I dont see a problem using another library for decompressing

AtenzaZoom commented 3 years ago

I use a method of UsbFile delete().and then makes an error about errorMessage is file is a directory.so it means can not delete empty directory?

magnusja commented 3 years ago

Are you using java-fs module? Which file system?