All pastes #814805 Raw Edit

cp-user.sh

public text v1 · immutable
·published 2007-12-13 15:53 UTC
rendered paste body
#!/bin/bash
echo "Please input the driectory to copy from:"
echo
read dir1
echo "Please input the directory to copy to:"
echo 
read dir2
echo "We will now execute the copy."

for x in `ls $dir1` ; do cp -v $x $dir2 ; done