Search Results

Search: Posts Made By: attonbitusira
2,535
Posted By attonbitusira
Finished script. Thanks for the help! #...
Finished script. Thanks for the help!

# first loop to make dat files
for i in `ls -R $dattmp | grep .pdf`
do
touch $dattmp/`basename $i .pdf`.dat
done
# second loop to fill dat files
for i...
2,535
Posted By attonbitusira
Yes, I realized my error and changed it. ...
Yes, I realized my error and changed it.

Thanks for the suggestion. Basename I believe will work.
2,535
Posted By attonbitusira
How to call last 14 characters with grep/sed in shell script.
Hi. This is my first post on the forums.

I am trying to write a script that will parse a folder of files "oneverylongfilenamexyz.pdf" and create a .dat file named "oneverylongfilenamexyz.dat" with...
Showing results 1 to 3 of 3

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