2017-06-15 21:12:26 +02:00
|
|
|
---
|
|
|
|
title: "rclone ncdu"
|
2020-05-16 16:11:55 +02:00
|
|
|
description: "Explore a remote with a text based user interface."
|
2017-06-15 21:12:26 +02:00
|
|
|
slug: rclone_ncdu
|
|
|
|
url: /commands/rclone_ncdu/
|
2022-12-20 18:16:14 +01:00
|
|
|
versionIntroduced: v1.37
|
2020-02-10 13:31:45 +01:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/ncdu/ and as part of making a release run "make commanddocs"
|
2017-06-15 21:12:26 +02:00
|
|
|
---
|
2020-05-22 12:17:37 +02:00
|
|
|
# rclone ncdu
|
2017-06-15 21:12:26 +02:00
|
|
|
|
|
|
|
Explore a remote with a text based user interface.
|
|
|
|
|
2020-05-22 12:17:37 +02:00
|
|
|
## Synopsis
|
2017-06-15 21:12:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
This displays a text based user interface allowing the navigation of a
|
|
|
|
remote. It is most useful for answering the question - "What is using
|
|
|
|
all my disk space?".
|
|
|
|
|
2020-05-22 13:22:52 +02:00
|
|
|
{{< asciinema 157793 >}}
|
2018-03-19 11:06:13 +01:00
|
|
|
|
2017-06-15 21:12:26 +02:00
|
|
|
To make the user interface it first scans the entire remote given and
|
|
|
|
builds an in memory representation. rclone ncdu can be used during
|
|
|
|
this scanning phase and you will see it building up the directory
|
|
|
|
structure as it goes along.
|
|
|
|
|
2022-07-09 19:08:20 +02:00
|
|
|
You can interact with the user interface using key presses,
|
|
|
|
press '?' to toggle the help on and off. The supported keys are:
|
2017-06-15 21:12:26 +02:00
|
|
|
|
|
|
|
↑,↓ or k,j to Move
|
|
|
|
→,l to enter
|
|
|
|
←,h to return
|
|
|
|
g toggle graph
|
2022-12-20 18:16:14 +01:00
|
|
|
c toggle counts
|
2021-02-02 14:42:35 +01:00
|
|
|
a toggle average size in directory
|
2022-12-20 18:16:14 +01:00
|
|
|
m toggle modified time
|
2021-11-01 16:42:05 +01:00
|
|
|
u toggle human-readable format
|
2022-12-20 18:16:14 +01:00
|
|
|
n,s,C,A,M sort by name,size,count,asize,mtime
|
2018-11-24 14:44:25 +01:00
|
|
|
d delete file/directory
|
2022-07-09 19:08:20 +02:00
|
|
|
v select file/directory
|
|
|
|
V enter visual select mode
|
|
|
|
D delete selected files/directories
|
2021-07-20 20:45:41 +02:00
|
|
|
y copy current path to clipboard
|
2019-08-26 16:25:20 +02:00
|
|
|
Y display current path
|
2022-07-09 19:08:20 +02:00
|
|
|
^L refresh screen (fix screen corruption)
|
2017-06-15 21:12:26 +02:00
|
|
|
? to toggle help on and off
|
2022-07-09 19:08:20 +02:00
|
|
|
q/ESC/^c to quit
|
|
|
|
|
|
|
|
Listed files/directories may be prefixed by a one-character flag,
|
2022-10-21 16:06:08 +02:00
|
|
|
some of them combined with a description in brackets at end of line.
|
2022-07-09 19:08:20 +02:00
|
|
|
These flags have the following meaning:
|
|
|
|
|
|
|
|
e means this is an empty directory, i.e. contains no files (but
|
|
|
|
may contain empty subdirectories)
|
|
|
|
~ means this is a directory where some of the files (possibly in
|
|
|
|
subdirectories) have unknown size, and therefore the directory
|
|
|
|
size may be underestimated (and average size inaccurate, as it
|
|
|
|
is average of the files with known sizes).
|
|
|
|
. means an error occurred while reading a subdirectory, and
|
|
|
|
therefore the directory size may be underestimated (and average
|
|
|
|
size inaccurate)
|
|
|
|
! means an error occurred while reading this directory
|
2017-06-15 21:12:26 +02:00
|
|
|
|
|
|
|
This an homage to the [ncdu tool](https://dev.yorhel.nl/ncdu) but for
|
2018-11-24 14:44:25 +01:00
|
|
|
rclone remotes. It is missing lots of features at the moment
|
|
|
|
but is useful as it stands.
|
|
|
|
|
2022-07-09 19:08:20 +02:00
|
|
|
Note that it might take some time to delete big files/directories. The
|
2018-11-24 14:44:25 +01:00
|
|
|
UI won't respond in the meantime since the deletion is done synchronously.
|
2017-06-15 21:12:26 +02:00
|
|
|
|
2022-07-09 19:08:20 +02:00
|
|
|
For a non-interactive listing of the remote, see the
|
|
|
|
[tree](/commands/rclone_tree/) command. To just get the total size of
|
|
|
|
the remote you can also use the [size](/commands/rclone_size/) command.
|
|
|
|
|
2017-06-15 21:12:26 +02:00
|
|
|
|
|
|
|
```
|
2017-09-30 15:19:47 +02:00
|
|
|
rclone ncdu remote:path [flags]
|
|
|
|
```
|
|
|
|
|
2020-05-22 12:17:37 +02:00
|
|
|
## Options
|
2017-09-30 15:19:47 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for ncdu
|
2017-06-15 21:12:26 +02:00
|
|
|
```
|
|
|
|
|
2019-06-20 17:18:02 +02:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2020-05-22 12:17:37 +02:00
|
|
|
## SEE ALSO
|
2017-06-15 21:12:26 +02:00
|
|
|
|
2018-10-15 12:03:08 +02:00
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
2018-03-19 11:06:13 +01:00
|
|
|
|