Giter Site home page Giter Site logo

Comments (5)

qq122356 avatar qq122356 commented on September 26, 2024

It seems that the --include parameters after rclone lsd and lsf do not work
Uploading rclone.log…

from rclone.

nielash avatar nielash commented on September 26, 2024

Have you tried adding -R ?

Note that ls and lsl recurse by default - use --max-depth 1 to stop the recursion.
The other list commands lsd,lsf,lsjson do not recurse by default - use -R to make them recurse.
https://rclone.org/commands/rclone_lsf/

from rclone.

qq122356 avatar qq122356 commented on September 26, 2024

I want to get the directory name that contains the keyword MS23071842 as a parameter in my shell program

I changed --include "MS23071842*" in the command to --include "MS23071842*/"

The result is correct

(base) [root@bitool workdir]# rclone lsf obs://ssl-share/BAM/ --include "MS23071842*" | tail -n 1 
PX20000006_c5f40b61dee64af99e9ab024d41b7fb8/
(base) [root@bitool workdir]# 
(base) [root@bitool workdir]# rclone lsf obs://ssl-share/BAM/ --include "MS23071842*/" | tail -n 1
MS23071842_55065f885c27410c80e80e0869f9cdd8/

from rclone.

nielash avatar nielash commented on September 26, 2024

If I'm understanding correctly, I think this is a dupe of:

Note also:

*         matches any sequence of non-separator (/) characters
**        matches any sequence of characters including / separators

https://rclone.org/filtering/#patterns

from rclone.

qq122356 avatar qq122356 commented on September 26, 2024

Yes, this is indeed a recurring question
I don't understand is, why use, include "MS23071842 *" parameter, will displays all the results, the parameter --include seems not work, and added / symbol is normal?

from rclone.

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.