Comments (5)
It seems that the --include parameters after rclone lsd and lsf do not work
Uploading rclone.log…
from rclone.
Have you tried adding -R
?
Note that
ls
andlsl
recurse by default - use--max-depth 1
to stop the recursion.
The other list commandslsd
,lsf
,lsjson
do not recurse by default - use-R
to make them recurse.
https://rclone.org/commands/rclone_lsf/
from rclone.
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.
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.
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)
- Unable to upload large files using webdav and mount HOT 1
- pCloud binary protocol HOT 1
- rsync.net isn't listed on the cloud storage providers? HOT 4
- mailru backend "invalid characters in object name" for paths containing U+0439 (cyrylic й) on macos HOT 4
- Deprecate the current SIA backend. HOT 3
- Error on folder rename (new or existing one) HOT 1
- Publish & tag beta versions of rclone/docker-volume-rclone HOT 3
- Unable to perform server-side copy between two Azure Blob Storage accounts HOT 3
- can't set config_is_local or config_refresh_token when using rcd config/create endpoint HOT 4
- Fish shell completions error HOT 2
- completion of remote paths fails on spaces HOT 3
- This program can only be run on AMD64 processors with v3 microarchitecture support. HOT 7
- v1.68.0 Docker image build failed HOT 10
- `RCLONE_` prefixed environment variables for multi-valued options not working in v1.68.0 HOT 7
- DigitalOcean setup with env variables is not working anymore HOT 7
- Git-Annex Clone to Dropbox Fails HOT 4
- rclone is ignoring --s3-upload-cutoff 5G, uploads a 4.5G file as multipart HOT 2
- Backblaze with Crypt HOT 2
- Backblaze directory markers PBS datastore HOT 4
- `--rc-addr` argument for rc command not functioning as expected in v1.68.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rclone.