Yorhel
a6b4aead43
Add $NCDU_LEVEL environment variable when spawning a shell
...
Similar to $SHLVL and $RANGER_LEVEL.
2021-05-12 16:30:43 +02:00
Yorhel
a389443c9a
Add --exclude-firmlinks and follow firmlinks by default
...
What a mess.
https://code.blicky.net/yorhel/ncdu/issues/153#issuecomment-764
2020-06-07 10:03:11 +02:00
Christian Göttsche
19cfe9b15c
Correct misspellings
2020-05-30 19:26:00 +02:00
Yorhel
bff5da3547
man page: Mention --follow-firmlinks
2020-05-15 08:51:08 +02:00
Christian Göttsche
c209b012b1
Add option --exclude-kernfs to skip scanning Linux pseudo filesystems
...
(cherry picked from commit a076ac714aa6fb24e0e9eb227372df84a4b6000b)
2020-04-08 18:32:11 +02:00
Yorhel
882a32613d
symlinks: Only call stat_to_dir() once, impove manual
...
stat_to_dir() assumes that buf_dir is clean; calling it twice breaks
that asumption.
2019-01-24 08:56:19 +01:00
Simon Doppler
74efdfaf97
Add a '--follow-symlinks' option
...
Symlink loops are handled by the stat(2) syscall. Symlinks pointing to a
directory are ignored (to avoid loops in the recursive scan).
2019-01-24 08:24:09 +01:00
Yorhel
2409cc7a32
Fix minor typo
2019-01-21 07:38:56 +01:00
Alex Wilson
60fdac0680
add a max modified time, or mtime, view and sorting
...
This adds an 'm' command to show the latest modified time of all files
in a directory. The 'M' command allows for ascending and descending
mtime sorting. These are only enabled with the -e flag and overload
the dir_ext mtime field.
2019-01-21 07:33:24 +01:00
Yorhel
93583e645f
Add --help flag as alias for -h
...
https://dev.yorhel.nl/ncdu/bug/125
2018-12-16 10:47:51 +01:00
Yorhel
d95c65b032
Add -V and --version as alias to -v
2018-09-03 22:19:55 +02:00
Yorhel
d15fe8d08e
Spelling fixes: "occured" + "an other"
...
https://dev.yorhel.nl/ncdu/bug/112
2018-03-29 17:32:48 +02:00
Yorhel
31126c6552
man page/file flags: Minor rewording + use same order as help screen
2018-02-21 18:59:24 +01:00
Thomas McWork
726b1542c6
shift section; adapt to online help wording
2018-02-21 18:55:03 +01:00
Thomas McWork
48a266c348
add a file flags section in the docs
2018-02-21 18:55:03 +01:00
Yorhel
47e969cdf3
Add -e flag to enable extended information mode
...
And document the --color flag that I forgot.
2018-01-23 13:45:16 +01:00
Yorhel
6c2ee0d6ab
Add --color option, simple theme support, disable colors by default
...
I've decided not to use ls-like file name coloring for now, instead just
coloring the difference between a (regular) file and a dir.
Still looking for a good color scheme for light backgrounds.
2018-01-21 15:41:54 +01:00
Yorhel
936a9446a8
Add -rr option to disable shell spawning
...
Fixes https://dev.yorhel.nl/ncdu/bug/94
2017-01-06 18:35:30 +01:00
Yorhel
e4f211db68
Year + version bump for 1.12
2016-08-24 20:59:58 +02:00
Yorhel
502d029509
Minor documentation changes
...
Sneaky change from using mc as an example to using vifm. It's closer to
ncdu in spirit.
2016-08-24 20:30:15 +02:00
Max Klinger
c035c3859c
implement confirmation switch
2015-09-20 07:58:07 +02:00
Øyvind A. Holm
3a21a634f4
doc: Document /bin/sh as default shell
...
The default shell was changed from /bin/bash to /bin/sh in commit
61a7846
("config: Use /bin/sh as default shell and don't check for its
existence", 2015-04-05), update the documentation about this.
2015-06-02 05:32:47 +02:00
Øyvind A. Holm
7be85679c5
Check for NCDU_SHELL environment variable when spawning shell
...
Check if the environment variable NCDU_SHELL is defined before the SHELL
variable is checked. This makes it possible to specify a program to
execute when 'b' is pressed. Setting SHELL to for example "mc" (Midnight
Commander) didn't work because mc already uses SHELL to execute
commands.
2015-06-02 04:06:09 +02:00
Thomas Jarosch
a25e5f80a5
Add ability to spawn shell
...
Key 'b' in the browse window spawns a shell in the current directoy.
We first check the $SHELL environment variable of the user for the preferred
shell interpreter. If it's not set, we fall back to the compile time
configured default shell (usually /bin/bash).
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
2014-12-14 09:16:27 +01:00
Yorhel
0e9e6d511a
Add --si flag for base 10 prefixes
...
This is a slightly modified patch contributed at
http://dev.yorhel.nl/ncdu/bug/35
2013-07-23 10:33:24 +02:00
Petr Pudlak
4a6efeba3d
Document --exclude-caches
in ncdu.pod.
2013-04-12 17:21:11 +02:00
Yorhel
1c8662ea63
ncdu.1: Add new c/C keys
2013-01-18 11:14:01 +01:00
Yorhel
ad84603bee
Clip directory sizes to fit in a signed 64bit integer
...
This mostly avoids the issue of getting negative sizes. It's still
possible to get a negative size after refresh or deletion, I'll get to
that in a bit.
2012-11-22 13:33:32 +01:00
Yorhel
31491d1e2c
Add some examples to the man page
2012-09-08 18:23:39 +02:00
Yorhel
b1059cafc4
Update man page with new options
2012-09-08 17:30:29 +02:00
Yorhel
b6e4092ea7
cli: Use -0,-1,-2 instead of "-u n"
...
I've no idea for what other purpose I'd use numbered options. This is
much shorter, and can easily be combined with other options (e.g. -rx1).
2012-09-06 14:11:44 +02:00
Yorhel
44e63ce2e7
Added -u option to change the scan UI
...
This allows scanning stuff without initializing ncurses. Not too useful
at this point since ncdu will switch to an ncurses environment when it's
done anyway, but this will become more useful when the export-to-file
feature has been implemented.
2012-08-27 14:17:40 +02:00
Yorhel
10e560a9a6
Use top-level automake build + removed AUTHORS, INSTALL and NEWS
...
A more modern and practical structure.
2012-05-21 15:38:08 +02:00
Yorhel
ae659d5186
doc: Minor fix: "ncdu 1.7" -> "ncdu 1.7 and later"
2012-01-18 11:42:33 +01:00
Yorhel
73562d46c5
doc: Use POD as source format and pod2man to generate ncdu.1
...
POD is somewhat more simple and flexible. I now use ncdu.pod to generate
a nicely formatted manual page on the ncdu homepage, rather than
displaying a rendering of ncdu.1 formatted in a monospace font.
The tarball will still contain an ncdu.1, so there's no extra dependency
on pod2man. (Unless you clone from git, since ncdu.1 isn't in the repo)
2012-01-18 11:36:39 +01:00
Yorhel
fcc871737a
Version bump + ChangeLog update for 1.8
...
I'm now following the same idea from ncdc of using $VERSION+g in the git
repositories.
2011-11-03 13:06:20 +01:00
Yorhel
76d242dafc
doc: Added read-only flag to ncdc.1
2011-09-09 08:51:37 +02:00
Yorhel
f71b09c5f7
Man page + TODO updates
2010-08-13 11:28:32 +02:00
Yorhel
24db8a8866
ChangeLog & man page version/date bump for 1.6
2009-10-23 14:37:07 +02:00
Yorhel
06cab8cc30
Added some keybindings and changed 'h' to 'e' in browser
2009-10-18 12:52:00 +02:00
Yorhel
188265c594
Version & date bump for ChangeLog and manual page
2009-05-02 13:11:02 +02:00
Yorhel
1739ee74d6
Updated manpage to reflect the removal of the 1000/1024 switch
2009-04-19 14:56:50 +02:00
Yorhel
e45afea1d6
Small manual page formatting cleanup
2009-04-05 15:23:16 +02:00
Yorhel
c6dfb73040
Converting ignores and versions from subversion to git
2009-04-05 14:59:05 +02:00
yorhel
04b7032846
Decided to get rid of that startup window...
...
git-svn-id: svn://blicky.net/ncdu/trunk@40 ce56bc8d-f834-0410-b703-f827bd498a76
2008-09-10 15:14:12 +00:00
yorhel
70f7adecda
Fixed version in ncdu.1, and filenames ending with a tilde are now also hidden with the 'h'-key
...
git-svn-id: svn://blicky.net/ncdu/trunk@24 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-07 09:38:54 +00:00
yorhel
66bdf71f97
Documented the 'a' and 'i'-keys, help window is more dynamic and updated TODO
...
git-svn-id: svn://blicky.net/ncdu/trunk@21 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-05 10:23:18 +00:00
yorhel
4859bc8810
Documented the refresh feature and made some improvements in the help window
...
git-svn-id: svn://blicky.net/ncdu/trunk@17 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-29 14:53:12 +00:00
yorhel
b53cb427a4
The 'h' key now also hides excluded items
...
git-svn-id: svn://blicky.net/ncdu/trunk@9 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-24 10:52:13 +00:00
yorhel
5390111c4b
SVN cleanup: removed automatically generated build files, added autogen.sh to create these, and added svn:ignore to ignore common files
...
git-svn-id: svn://blicky.net/ncdu/trunk@5 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-22 16:27:04 +00:00