forked from vincent/notebook
add example
This commit is contained in:
parent
d245facc06
commit
0123247969
@ -56,3 +56,14 @@ fi
|
|||||||
|-r -w -x | test permition|
|
|-r -w -x | test permition|
|
||||||
|$a -nt $b| $a plus récent|
|
|$a -nt $b| $a plus récent|
|
||||||
|$a -ot $b| $a plus vieux|
|
|$a -ot $b| $a plus vieux|
|
||||||
|
|
||||||
|
## Supprimer les Dossiers contenant 1 élement
|
||||||
|
|
||||||
|
```
|
||||||
|
IFS=$'\n';for i in $(ls) do ✔ 10022 18:29:32
|
||||||
|
if [ $(ls $i|wc|awk '{print $1}') = 1 ]
|
||||||
|
then
|
||||||
|
rm -r $i
|
||||||
|
fi
|
||||||
|
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user