Giter VIP home page Giter VIP logo

Comments (8)

me-no-dev avatar me-no-dev commented on July 30, 2024

ok, what do we need to do?
get the files in subfolders and put them with the folder name as prefix to the new name?
do the names start with "/", I think it does not matter but we need to standardize it somehow on the ESP side. I have run into issues doing SPIFFS.open("file.txt","w") and SPIFFS.open("/file.txt","w")

from arduino-esp8266fs-plugin.

miky2k avatar miky2k commented on July 30, 2024

In a file system where there is not working-dir concept all name should be absolute (starting with /) for compatibility with filesystem where dir is a real object.

from arduino-esp8266fs-plugin.

igrr avatar igrr commented on July 30, 2024

Actually i checked and mkspiffs 1.2 supports nested directories. So I think this should just work if you create a 'somewhere' subdirectory in 'data' directory and put all files there.

from arduino-esp8266fs-plugin.

miky2k avatar miky2k commented on July 30, 2024

Under linux?

from arduino-esp8266fs-plugin.

me-no-dev avatar me-no-dev commented on July 30, 2024

@igrr where can I read on the matter?

from arduino-esp8266fs-plugin.

igrr avatar igrr commented on July 30, 2024

Recursive packing has been added here: igrr/mkspiffs@2ecc11f
It's part of mkspiffs-1.2 release.

from arduino-esp8266fs-plugin.

me-no-dev avatar me-no-dev commented on July 30, 2024

recursive plugin have been done here: 68fd738

from arduino-esp8266fs-plugin.

igrr avatar igrr commented on July 30, 2024

In 0.2.0

from arduino-esp8266fs-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.