TIL: Moving everything one level up

This commit is contained in:
Asocia 2021-07-03 17:22:27 +03:00
parent c0c710df69
commit 8bc5cb91ff

View File

@ -0,0 +1,8 @@
You can move every file (except the hidden ones) up by one level in the hierarchy with something like this:
```
for d in */ ; do
mv $d* .
rmdir $d # optional
done
```