I need write simple script,but I just started and don't know how to do this at all. And I need it before tomorrow.
This is what I need.
1) Create a directory FileData and place four files into the directory.
This part, I already did, but second still exist.
2) Implement a Linux script that creates a new directory called CopiedData and when then copies the four files from FileData into CopiedData.

Can anybody help me? And if you can put comments for me to understand.
Thank you

Simple Dude just three line.. B4 running make sure that
two Dir ie FileData and CopiedData should be in same directory

#!/bin/sh
mkdir -p CopiedData
cp ./FileData/* ./CopiedData/

Simple Dude just three line.. B4 running make sure that
two Dir ie FileData and CopiedData should be in same directory

#!/bin/sh
mkdir -p CopiedData
cp ./FileData/* ./CopiedData/

Thank you very much

U r welcome
Pls mark it 'Solved'

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.