cd /test1/da/ for file in */*/*.dat ; do mv $file /newfolder/${file////_} done
In reply to Re: copy and rename depending on location
by choroba
in thread copy and rename depending on location
by oolmos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |