Originally Posted by Juanmadrid
is these oke?
#! / Bin / bash
cp /tmp/programming/practise/*.jpg /tmp/programming/practise/*music* /tmp/programming/Juan
I want tomake a script which copy 2 types of files from one directory to another! Thank you for your time!
Hello, and welcome to LQ!
At first, please use code-tags when posting code.
I found only one error in your script, this line:
This should be
Linux is case-sensitive, unlike Windows Bin
are not the same. Since this is the path to the interpreter for that script it may not contain spaces that are not in the path, and if there are spaces in the path they have to be escaped.