Search Results

Search: Posts Made By: Luvs2drnk
1,444
Posted By Luvs2drnk
Where do I find post#4? ---------- Post...
Where do I find post#4?

---------- Post updated at 11:59 AM ---------- Previous update was at 10:31 AM ----------

Re-posted this in the correct forum, sorry.
2,550
Posted By Luvs2drnk
Trouble with Shell Script Compressing file
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
You will...
1,444
Posted By Luvs2drnk
Ok here is what I have: echo "Creating...
Ok here is what I have:
echo "Creating Compressed File from file1"
while read file1; do
echo "Contents of file are:"
cat file1
tar -zcvf file1.tgz
echo "The size of file1.tgz is:"
stat...
1,444
Posted By Luvs2drnk
Sorry, iPad auto capitalizes. Didn't add the done...
Sorry, iPad auto capitalizes. Didn't add the done at the end, but not sure if I need to use the while do done commands for this. When I run the command like it is above it stops after the first echo.
1,444
Posted By Luvs2drnk
I know how to compress the files with the tar...
I know how to compress the files with the tar command, but I'm unsure if using the while read do string of commands will work.
Here is what I have so far:
Echo "Creating compressed file from file1"...
1,444
Posted By Luvs2drnk
Shell Script
Trying to figure out the command to read a file that contains the paths to six files, then compresses those files
Showing results 1 to 6 of 6

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