list all files in order of file size/find large files
Use the teedoc
tool teedoc-list-files
command to list all files according to the file size in the directory, which is convenient for finding large files
Using help:
For example, to list all the files in the directory my_doc
and sort them by file size, you can use this:
Here -r
is a recursive search, that is, it will search for subfolders, all
represents all file formats, and other formats can also be specified, such as:
You will see the sorted list of files.
If you want to remove file totally from git repo, refer to github doc or refer to gitee doc
Gitalking ...