File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33name : Find the largest 10 files in a directory
44# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
55command : |-
6- du -ah | sort -hr | head -n 10
6+ du -ah {{directory}} | sort -hr | head -n 10
77# Any tags that the workflow should be categorized with.
88tags :
99 - du
1010# A description of the workflow.
1111description : Uses 'du' command to find file and directory sizes in the current working directory, then sorts by size and displays 10 largest files
12+ # List of arguments within the command.
13+ arguments :
14+ # Name of the argument within the command. This must exactly match the name of the argument
15+ # within the command (without the curly braces).
16+ - name : directory
17+ # The description of the argument.
18+ description : The name of the directory where you want to find files
19+ # The default value for the argument.
20+ default_value : .
1221# The source URL for where the workflow was generated from, if any.
1322source_url : " https://linuxhandbook.com/find-biggest-files-linux/"
1423# The author of the workflow.
You can’t perform that action at this time.
0 commit comments