0

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

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by msvinaykumar
0

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/

0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.