how to copy files from directory
i have four directories and i want to copy only the files in the directory to a single directory, how can i do it with the cp command.
the directories names are dir1, dir2, dir3 and dir4 and i want only the files from these directories to a single directory called mainDir.
Thanks in advance
|