Search Results

Search: Posts Made By: scyphers
8,126
Posted By scyphers
Okay, I finally got a break in work that pays to...
Okay, I finally got a break in work that pays to try this out. Here's the script:

srcdir=$1
targetdir=$2

oldifs=$IFS
IFS='
'
find $srcdir |
while read f
do
dest=$(echo $f | sed...
8,126
Posted By scyphers
Okay, so to make source directory and target...
Okay, so to make source directory and target directory command line parameters, it would be something like:


srcdir=$1
targetdir=$2

Right?
8,126
Posted By scyphers
Unfortunately, the /usr and /var are just...
Unfortunately, the /usr and /var are just examples. I was hoping to parameterize the two directories to support changing it on the fly at runtime.

--CS
8,126
Posted By scyphers
Recursively hard linking files -- bonehead question
I used to program ksh a while back, but I've been off in Oracle/Windows land (for clients -- not by choice) for so long that I can't remember what should be an easy thing. Here's the scenario:

...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy