Quote:
Originally Posted by
vmachava
can we handle this scenaio using mv?
Putting '*.txt' inside single-quotes like that has prevented * from expanding. mv doesn't understand the string '*.txt' to have any special meaning, because filename globbing is something that happens inside the shell, not inside mv.
Remove the single-quotes and it will work.