Only move all the files in a directory to a subdirectory

Advertisement

Dominion
Guest

Only move all the files in a directory to a subdirectory

Hi,

I have a directory called /Root/ and I need to copy only the files that exist in /Root/ to /Root/SubDir

When i execute "mv *.* /SubDir/ it fails telling me I cannot copy the file SubDir to /Subdir/Subdir

Is it possible to only moves the files in the current directory, or will it always copy the directories whenever i provide the wildcard?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum