diff --git a/tldr/b2-tools b/tldr/b2-tools new file mode 100644 index 00000000..d743c2b7 --- /dev/null +++ b/tldr/b2-tools @@ -0,0 +1,41 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# b2-tools + +> Access all features of Backblaze B2 Cloud Storage easily. +> More information: . + +- Access your account: + +`b2 authorize_account {{key_id}}` + +- List the existing buckets in your account: + +`b2 list_buckets` + +- Create a bucket, provide the bucket name, and access type (e.g. allPublic or allPrivate): + +`b2 create_bucket {{bucket_name}} {{allPublic|allPrivate}}` + +- Upload a file. Choose a file, bucket, and a folder: + +`b2 upload_file {{bucket_name}} {{path/to/file}} {{folder_name}}` + +- Upload a source directory to a Backblaze B2 bucket destination: + +`b2 sync {{path/to/source_file}} {{bucket_name}}` + +- Copy a file from one bucket to another bucket: + +`b2 copy-file-by-id {{path/to/source_file_id}} {{destination_bucket_name}} {{path/to/b2_file}}` + +- Show the files in your bucket: + +`b2 ls {{bucket_name}}` + +- Remove a "folder" or a set of files matching a pattern: + +`b2 rm {{path/to/folder|pattern}}` diff --git a/tldr/linux/kdesrc-build b/tldr/linux/kdesrc-build index eb5cd244..1fe089f9 100644 --- a/tldr/linux/kdesrc-build +++ b/tldr/linux/kdesrc-build @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # kdesrc-build > Easily build KDE components from its source repositories. -> More information: . +> More information: . - Initialize `kdesrc-build`: @@ -28,9 +28,9 @@ source: https://github.com/tldr-pages/tldr.git `kdesrc-build --resume-from={{dependency_component}} {{component_name}}` -- Print full compilation info: +- Run a component with a specified executable name: -`kdesrc-build --debug {{component_name}}` +`kdesrc-build --run --exec {{executable_name}} {{component_name}}` - Build all configured components: diff --git a/tldr/linux/wmctrl b/tldr/linux/wmctrl index 2b9cf418..28b37963 100644 --- a/tldr/linux/wmctrl +++ b/tldr/linux/wmctrl @@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git `wmctrl -r {{window_title}} -b toggle,fullscreen` -- Select a window a move it to a workspace: +- Select a window and move it to a workspace: `wmctrl -r {{window_title}} -t {{workspace_number}}` diff --git a/tldr/read b/tldr/read index 99df03e4..9e299a3a 100644 --- a/tldr/read +++ b/tldr/read @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Assign multiple values to multiple variables: -`{{echo "The name is Bond"}} | read {{_ variable1 _ variable2}}` +`read {{_ variable1 _ variable2}} <<< {{"The surname is Bond"}}` - Do not let backslash (\) act as an escape character: