Git Product home page Git Product logo

Comments (5)

david-corkill avatar david-corkill commented on June 24, 2024

Just to add a note, it appears to be if I use parameters in the bat file rather than the json. The json works correctly, never mind me

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

So, are you good or do you need help?

from plexbackup.

david-corkill avatar david-corkill commented on June 24, 2024

I am good. If it is meant to work with parameters in place of the config file, it might have a problem, but config file worked as expected.

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

It works with parameters and config file (including using both in the same call, in which case command line parameters tace precedence). I'm just not sure what you did originally. Like where is the batch file coming from? There should be no batch files. You can use config file in the json or ini format, but I don't know how you pass parameters via a batch file.

from plexbackup.

david-corkill avatar david-corkill commented on June 24, 2024

I worked out what caused it, it only happens when Type is not configured as a parameter or edited in the .json.

If run using the standard .json, or without this type parameter configured when executing, it creates a zip called $zipFilePath.zip in the directory where the script is run instead of putting it in the 1 directory in the backup path.

it is only the 1 directory (files) that acts weird, the other folders are correctly zipped (by default)

from plexbackup.

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.