Skip to content

Commit c890c27

Browse files
authored
Redirects / file shuffling (ipfs#1484)
1 parent 597516e commit c890c27

File tree

7 files changed

+8
-88
lines changed

7 files changed

+8
-88
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ module.exports = {
147147
sidebarDepth: 1,
148148
collapsable: true,
149149
children: [
150+
'/how-to/kubo-basic-cli',
150151
'/how-to/command-line-quick-start',
151152
'/how-to/configure-node',
152153
'/how-to/modify-bootstrap-list',

docs/.vuepress/redirects

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/basics/ /install/
21
/basics/desktop-app /how-to/desktop-app
3-
/basics/go/command-line-quick-start /how-to/command-line-quick-start
2+
/basics/go/ /install/command-line
3+
/basics/go/command-line /how-to/kubo-basic-cli
44
/basics/js/js-ipfs /install/js-ipfs
55
/basics/ipfs-implementations /concepts/ipfs-implementations
66
/community/chat /community

docs/basics/README.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/basics/concepts.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

docs/basics/go/command-line.md renamed to docs/how-to/kubo-basic-cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
2-
title: IPFS in Golang
2+
title: Basic CLI operations with Kubo
33
description: "A simple walkthrough of how to perform basic IPFS operations using the Kubo command-line."
44
---
55

6-
# Basic CLI Operations
6+
# Basic CLI operations with Kubo
77

88
This short guide aims to walk you through the **basics of using IPFS with the Kubo CLI**. Kubo is [one of multiple IPFS implementations](../ipfs-implementations.md). It is the oldest IPFS implementation and exposes a CLI (among other things).
99

10-
You will learn how to add, retrieve, read, and remove files within the CLI. If you are unsure about the meaning of some terms, you can check out the [glossary](../../concepts/glossary.md).
10+
You will learn how to add, retrieve, read, and remove files within the CLI. If you are unsure about the meaning of some terms, you can check out the [glossary](../concepts/glossary.md).
1111

1212
All instructions and examples shown here were performed and tested on an M1 Mac. However, the IPFS commands are the same on Linux, macOS, and Windows. You will need to know how to navigate your computer's directories from within the CLI. If you're unsure how to use the CLI, we recommend learning how before continuing with this guide.
1313

1414
## Install Kubo
1515

16-
Next up, we need to install Kubo for the command-line. We have a great guide that will walk you through how to [install Kubo with the CLI](../../install/command-line.md).
16+
Next up, we need to install Kubo for the command-line. We have a great guide that will walk you through how to [install Kubo with the CLI](../install/command-line.md).
1717

1818
Once you have Kubo installed, we need to get our node up and running. If this is your first time using Kubo, you will first need to initialize the configuration files:
1919

@@ -191,7 +191,7 @@ We can _pin_ data we want to save to our IPFS node to ensure we don't lose this
191191
pinned bafybeif2ewg3nqa33mjokpxii36jj2ywfqjpy3urdh7v6vqyfjoocvgy3a recursively
192192
```
193193

194-
By default, objects that you retrieve over IPFS are not pinned to your node. If you wish to prevent the files from being garbage collected, you need to pin them. You will notice that the pin you just added is a `recursive` pin, meaning it is a directory containing other objects. Check out the [Pinning page to learn more about how this works](../../concepts/persistence.md).
194+
By default, objects that you retrieve over IPFS are not pinned to your node. If you wish to prevent the files from being garbage collected, you need to pin them. You will notice that the pin you just added is a `recursive` pin, meaning it is a directory containing other objects. Check out the [Pinning page to learn more about how this works](../concepts/persistence.md).
195195

196196
## Remove a file
197197

0 commit comments

Comments
 (0)