Skip to content

Commit 3da9248

Browse files
committed
Add workflow to find large files with du
1 parent ea6ccca commit 3da9248

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

specs/du/find_biggest_files.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# The name of the workflow.
3+
name: Find the largest 10 files in a directory
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
du -ah | sort -hr | head -n 10
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- du
10+
# A description of the workflow.
11+
description: Uses 'du' command to find file and directory sizes in the current working directory, then sorts by size and displays 10 largest files
12+
# The source URL for where the workflow was generated from, if any.
13+
source_url: "https://linuxhandbook.com/find-biggest-files-linux/"
14+
# The author of the workflow.
15+
author: Christopher Murray
16+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
17+
author_url: "https://linuxhandbook.com/find-biggest-files-linux/"
18+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
19+
# See FORMAT.md for the full list of accepted values.
20+
shells: []

0 commit comments

Comments
 (0)