mirror of
https://github.com/sahinakkaya/til.git
synced 2024-12-22 23:29:37 +01:00
9 lines
180 B
Markdown
9 lines
180 B
Markdown
You can move every file (except the hidden ones) up by one level in the hierarchy with something like this:
|
|
```bash
|
|
for d in */ ; do
|
|
mv $d* .
|
|
rmdir $d # optional
|
|
done
|
|
```
|
|
|