Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for year in {2017..2019}
- do
- pushd /datos/$year
- for month in {1..12}
- do
- pushd $month/
- for day in `ls`
- do
- pushd $day/
- mv $day tmp
- mv tmp/* .
- rm -rf tmp
- popd
- end
- popd
- end
- popd
- end
Advertisement
Add Comment
Please, Sign In to add comment