Giter Club home page Giter Club logo

Comments (6)

msalle avatar msalle commented on July 29, 2024

Hi,
I'm not sure what you're trying to do exactly and have no personal experience with using globus-url-copy using the pipe option, but calling tar without arguments gives this error message.
From the options in the documentation for globus-url-copy I would think you probably need only -dst-pipe with the correct -x flags, probably something like tar -xf -.

from gct.

fscheiner avatar fscheiner commented on July 29, 2024

@Jin-Chao
Unfortunately I also never tried that popen feature, but there was a script in the GCT source that according to its description could perform directory copies via tar and globus-url-copy using that popen feature. It's still available in the repo's history:

https://github.com/gridcf/gct/blob/ab99a0e1a7ffe22295edf05ad545bb5175056223/gass/copy/source/globus-dir-copy

Checking the source should give you the correct usage for the corresponding use case (i.e. get, put, 3rd-party, etc.). For 3rd-party transfers the popen feature needs to be enabled on both servers.


One thing to note is, that for huge directories leading to huge tarballs and longer transfer times, the restart functionality you can use with globus-url-copy does not work as expected when the transfer is interrupted, as you can't seek in a stream (the tarball doesn't exist as file!). Because of that, the stream always needs to be retransferred from the beginning, in case of transfer problems.

from gct.

fscheiner avatar fscheiner commented on July 29, 2024

@Jin-Chao
Do you need any further assistance or can this issue be closed?

from gct.

Jin-Chao avatar Jin-Chao commented on July 29, 2024

@fscheiner
Sorry for late response.
Thank you very much for your help. We have reviewed globus-dir-copy, and it worked well. Please close this thread.

from gct.

fscheiner avatar fscheiner commented on July 29, 2024

@Jin-Chao
Glad we could work it out.

from gct.

fscheiner avatar fscheiner commented on July 29, 2024

@Jin-Chao @msalle
https://web.archive.org/web/20100612224141/http://www.mcs.anl.gov/~bresnaha/Stretch/ has some very interesting additional examples that use the "popen" functionality. Might come in handy sometime. :-)

from gct.

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.