i need to copy files from one folder to another folder using shell
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am not saying that "extensions" are not used, I am saying that the Unix operating system itself does not have such a concept (they are just used for user convenience, and some programs may require them), and that unlike Windows, Unix filenames are allowed not to have an extension, so *.* will not match all files.
Try it yourself.
* matches all files
*.* matches all files with a name, a . and following text.
You don't necessarily need *.*, just * but it doesn't stop the command working.
I know that "*.*" is valid in BASH and that it will match all files with a dot in the name.
But I assume that the OP meant all files, not only the ones that have a dot in them. And because of the low post count, I assume that the OP thought all filenames had a dot in them because he is used to Windows.