Add one liners
This commit is contained in:
6
bash/one_liners.bash
Normal file
6
bash/one_liners.bash
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/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.
|
||||
|
||||
Reference in New Issue
Block a user