Files
CodeSnippets/bash/one_liners.bash
2022-11-23 13:15:40 +10:30

7 lines
200 B
Bash

#!/usr/bin/env bash
# How to strip leading "./" in "find"
find -type f -printf '%P\n'
# From find manual: %P File's name with the name of the command line argument under which it was found removed.