mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-14 13:09:37 +01:00
9 lines
176 B
Markdown
9 lines
176 B
Markdown
|
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
|
||
|
```
|
||
|
|