"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
test_all: POSIX head/tail invocations
David Seifertacd5a893e2b0
diff --git a/bin/backend-versions.sh b/bin/backend-versions.shindex f6fb0bdb5..9fdbdcc05 100755--- a/bin/backend-versions.sh+++ b/bin/backend-versions.sh@@ -7,11 +7,11 @@ for backend in $( find backend -maxdepth 1 -type d ); docontinuefi- commit=$(git log --oneline -- $backend | tail -1 | cut -d' ' -f1)+ commit=$(git log --oneline -- $backend | tail -n 1 | cut -d' ' -f1)if [ "$commit" == "" ]; then- commit=$(git log --oneline -- backend/$backend | tail -1 | cut -d' ' -f1)+ commit=$(git log --oneline -- backend/$backend | tail -n 1 | cut -d' ' -f1)fi- version=$(git tag --contains $commit | grep ^v | sort -n | head -1)+ version=$(git tag --contains $commit | grep ^v | sort -n | head -n 1)echo $backend $versionsed -i~ "4i versionIntroduced: \"$version\"" docs/content/${backend}.mddonediff --git a/bin/upload-github b/bin/upload-githubindex ba4079323..0ebdc708d 100755--- a/bin/upload-github+++ b/bin/upload-github@@ -13,7 +13,7 @@ if [ "$1" == "" ]; thenexit 1fiVERSION="$1"-ANCHOR=$(grep '^## v' docs/content/changelog.md | head -1 | sed 's/^## //; s/[^A-Za-z0-9-]/-/g; s/--*/-/g')+ANCHOR=$(grep '^## v' docs/content/changelog.md | head -n 1 | sed 's/^## //; s/[^A-Za-z0-9-]/-/g; s/--*/-/g')cat > "/tmp/${VERSION}-release-notes" <<EOFThis is the ${VERSION} release of rclone.diff --git a/fstest/testserver/init.d/docker.bash b/fstest/testserver/init.d/docker.bashindex 4a3dd9ecc..1bcc2c261 100644--- a/fstest/testserver/init.d/docker.bash+++ b/fstest/testserver/init.d/docker.bash@@ -18,5 +18,5 @@ status() {}docker_ip() {- docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{"\n"}}{{end}}' "$NAME" | head -1+ docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{"\n"}}{{end}}' "$NAME" | head -n 1}