I have several hundred files in one directory which I need to move to another directory with the new extension, for example:
/bb/data/rptmgr* are in the source directory need to be moved to
/bb/data55/rptmgr*.new
Is there an efficient way to do it? Thanks -A
cd /bb/data
for f in rptmgr* ; do
mv $f /bb/data55/$f.new
done
...efficient enough?
I am new user. How to create 'New Posts'?
Could you be more specific?
Thanks, this is what I need