Results 1 to 2 of 2
how do i create a script file which will copy all the files in one file directory to another file directory.
using cp? how do i write the whoel thing?
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-01-2005 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 2
another newbie question
how do i create a script file which will copy all the files in one file directory to another file directory.
using cp? how do i write the whoel thing?
thank you very much
- 10-01-2005 #2
The command to do this would be
If you want to make a bash script out of that, just do:Code:cp -r /place/where/files/are/* /place /where/files/go/
save the file and then#!/bin/bash
cp -r /place/where/files/are/* /place /where/files/go/hope this helpsCode:chmod +x filename


Reply With Quote
