Comments (4)
ok, this seems to be much faster:
nice!
what is the preferred way to demonize and kill
rclone rcd
in the background? (i will be running this script only in interactive shells, so i need to catch Ctrl+C to abort)
rclone rcd
doesn't have a --daemon
flag like rclone mount
.
You can ask rclone rcd
to stop with the core/quit command.
from rclone.
following this forum post I've came up with this bash function, but it is quite slow:
myonedrivefolder2m3u() {
while read -r filename; do
rclone link "my_onedrive:$1/$filename"
done <<< "$(rclone lsf my_onedrive:$1 --include '*.mp3')"
}
myonedrivefolder2m3u folder/to/share/recursively
from rclone.
Your script will run a lot quicker if you start an rclone rcd
server then use rclone rc operations/publiclink as rclone won't have the overhead of starting up the backend each time.
It would be fairly easy to add -R
to rclone publiclink
though - is this something you'd like to help with? I could provide hints?
from rclone.
ok, this seems to be much faster:
printf "#EXTM3U\r\n"
rclone rcd --rc-no-auth &
# alwars terminate the server when finished
trap "pkill -P $$" EXIT INT
myonedrivefolder2m3u() {
while read -r filename; do
printf "#EXTINF:-1,$filename\r\n"
rclone rc operations/publiclink fs=my_onedrive: remote="$1/$filename" | jq -r .url | sed -e 's/$/\r/'
done <<< "$(rclone lsf onedrive:$1 --include '*.mp3')"
}
myonedrivefolder2m3u folder/to/share/recursively
what is the preferred way to demonize and kill rclone rcd
in the background?
(i will be running this script only in interactive shells, so i need to catch Ctrl+C to abort)
from rclone.
Related Issues (20)
- Proton Drive: error 422 due to authenticating using an empty access token? HOT 11
- Suggestion: add a link to the nfsmount command in the documentation for the mount command HOT 2
- docker rclone volume for cloudflare r2 not working
- S3: if a bucket already exists, bucket creation silently fails HOT 5
- Life changing simple feature for headless Oauth signin HOT 1
- Allow passing config password as command parameter HOT 1
- webdav compressed stream not recognized
- `rclone serve` seems to always request a listing
- `sync` need `--download` flag to ensure `--checksum` get hash and avoid falling back to `--size-only` HOT 2
- rclone lsjson does not implement --include filter HOT 1
- DLNA Browse+BrowseMetadata not to spec, angers pedantic client. HOT 3
- Rclone sync behaving badly, forcibly clearing RAM cache HOT 7
- copy the file from onedrive to local it show the error `unauthenticated` HOT 1
- S3(Alibaba): bucket ACL changed after `rclone mkdir` HOT 4
- serve webdav: htpasswd+bcrypt cause poor performance when listing or writing dirs with many subdirs /files HOT 3
- backend: pcloud: support block level sync (upload only) HOT 2
- OneDrive: Direct Link not working anymore HOT 5
- Is Uloz.to supported by rclone v1.66? HOT 1
- jottacloud: metadata isn't set properly on server side copy and move HOT 4
- internetarchive: metadata isn't set properly on server side copy and move
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.