hi, to create a directory with a unique name at each run, "mkdir $i.$$" will append the PID to $i, and if $i is a counter, you'll get 1.PID, 2.PID ...
As for copy-> paste -> delete from source, you've just described the mv command.
Not sure I understood completely what you wanted though...
Serafean
|