Awesome q2a theme

How to find large file in linux?

0 like 0 dislike
17 views
The export list file sizes on the server?
by | 17 views

4 Answers

0 like 0 dislike
find . -type f-size +1M-exec du -h \\{\\} \\;
instead of the character . specify the directory in which to perform the search, instead of 1 indicates the minimum size in megabytes. all files in the specified directory and subdirectories with size more than specified and to which the user has access are displayed, with an indication of the size.
by
0 like 0 dislike
You can use ncdu, a very handy command-line utility, menu-based wrapper around du that displays folders and files by size in a table and allowing the folders to move.
by
0 like 0 dislike
it all depends on the purpose...
find ~ -size +100000k -exec ls-la '{}' ';'
by
0 like 0 dislike
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
6 answers
asked Mar 22, 2019 by PlatinumArcade
0 like 0 dislike
5 answers
asked Mar 22, 2019 by darkslesh
110,608 questions
257,187 answers
0 comments
40,796 users