bash
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
bash [2023/10/01 17:28] – getopts rjt | bash [2024/01/10 10:59] (current) – Move all files in subdirectories to parent rjt | ||
---|---|---|---|
Line 48: | Line 48: | ||
mv -- " | mv -- " | ||
done | done | ||
+ | </ | ||
+ | |||
+ | ==== Move all files in subdirectories to parent ==== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | <code bash> | ||
+ | find . -mindepth 2 -type f -print -exec mv {} . \; | ||
</ | </ | ||
bash.1696141718.txt.gz · Last modified: 2023/10/01 17:28 by rjt