GithubHelp home page GithubHelp logo

Comments (5)

joehand avatar joehand commented on July 3, 2024

(Not tested but...) can you run dat unpublish --name pagecounts-ez ?

from datbase.

joehand avatar joehand commented on July 3, 2024

Oh nope, that won't work. If you cd data-dir and then dat unpublish it will unpublish whatever name is in the dat.json file. So you can set it to the one you want to unpublish then run it. If that makes sense... ?

Sorry, this should be more straightforward!

from datbase.

CristianCantoro avatar CristianCantoro commented on July 3, 2024

@joehand said:

Oh nope, that won't work. If you cd data-dir and then dat unpublish it will unpublish whatever name is in the dat.json file. So you can set it to the one you want to unpublish then run it. If that makes sense... ?

Ok, I will try doing that, but I would like to point out that at the moment dat unpublish is undocumented.

This is what I get with dat 13.11.4:

$ dat --help

Usage: dat <cmd> [<dir>] [options]

Sharing Files:
   dat share                   create dat, import files, share to network
   dat create                  create empty dat and dat.json
   dat sync                    import files to existing dat & sync with network

Downloading Files:
   dat clone <link> [<dir>]    download a dat via link to <dir>
   dat pull                    update dat & exit
   dat sync                    live sync files with the network

Info:
   dat log                     log history for a dat
   dat status                  get key & info about a local dat

Dat public registries:
   dat <cmd> [<registry>]      All commands take <registry> option
   dat register                register new account
   dat login                   login to your account
   dat publish                 publish a dat
   dat whoami                  print active login information
   dat logout                  logout from active login

Stateless/Shortcut Commands:
   dat <link> [<dir>]          clone or sync link to <dir>
   dat <dir>                   create and sync dat in directory

Troubleshooting & Help:
   dat doctor                  run the dat network doctor
   dat help                    print this usage guide
   dat <command> --help, -h    print help for a specific command
   dat --version, -v           print the dat version

  
General Options:
    --dir, -d             set the directory for Dat
    --port                port to use for connections (default port: 3282 or first available)
    --utp                 use utp for discovery (default: true)
    --http                serve dat over http (default port: 8080)
    --sparse              download only requested data (default: false)
    --up                  throttle upload bandwidth (1024, 1kb, 2mb, etc.)
    --down                throttle download bandwidth (1024, 1kb, 2mb, etc.)

Have fun using Dat! Learn more at docs.datproject.org

from datbase.

CristianCantoro avatar CristianCantoro commented on July 3, 2024

I have issues with dat unpublish (it's throwing errors at me), I will investigate and open a separate bug report if needed.

from datbase.

CristianCantoro avatar CristianCantoro commented on July 3, 2024

At the moment I am not able to run dat unpublish (see the bug referenced above)

from datbase.

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.