Coder Social home page Coder Social logo

Comments (7)

kspearrin avatar kspearrin commented on May 21, 2024

Where are you seeing these folders? Just their ids within an item? Or using bw list folders? Any idea how to reproduce from my end?

from cli.

smsimeonov avatar smsimeonov commented on May 21, 2024

Well, this should produce the result:

bw sync --session $SK
$EF = bw list folders --search $FOLDER --session $SK
if ($EF -eq "[]") {
bw get template folder --session $SK | ForEach-Object {$_ -replace "Folder name", "$FOLDER"} | bw encode | bw create folder --session $SK
}
$TFID = bw list folders --search $FOLDER --session $SK | ConvertFrom-Json
foreach ($line in $TFID) {$FDS = $line.id}
bw delete folder $FDS
bw sync --session $SK

If it doesn't on the first run, it should on the second.

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

When I run bw list folders I only see real folders from my vault, which I also see in the web vault.

When you list these folders, what is their name? Are they old folders you used to have or what?

from cli.

smsimeonov avatar smsimeonov commented on May 21, 2024

Yeah, they're old folders I created with the cli and then removed via the web interface since I was just starting out on using the cli itself.

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

What if you log out and back into the CLI?

from cli.

smsimeonov avatar smsimeonov commented on May 21, 2024

Doing that seems to have fixed it.
Although ideally, I wouldn't have to do that since I'm trying to automate this through a script which executes remotely, so the less actions, the better.
Thanks for the quick responses by the way.

from cli.

bitwarden-bot avatar bitwarden-bot commented on May 21, 2024

Hi smsimeonov,
We're cleaning up our repositories in preparation for a major reorganization. Issues from last year will be marked as stale and closed after two weeks. If you still need help, comment to let us know and we'll look into it.
Thanks!

from cli.

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.