Search Results

Search: Posts Made By: shellX
1,240
Posted By shellX
Thank You. Much better indeed.
Thank You.
Much better indeed.
1,240
Posted By shellX
I've set an exit after the 2 options were...
I've set an exit after the 2 options were completed.
The result are below

$ ./test_decomp.sh REP1 a b
LISTEREP1 : /data/folder1
DO LOOP FOR REP1 AND REP2 :REP1 /data/folder1/a/b

$...
1,240
Posted By shellX
Issue with condition "if then elif else fi"
Hi everybody,

I must get trought a shell script 3 arguments.
1st argument = $1 (can take values REP1..4)
2nd argument = $2 (can take values A..Z)
3rd arguement = $3 (also can take values...
1,584
Posted By shellX
Sorry ---------- Post updated at 06:40 PM...
Sorry

---------- Post updated at 06:40 PM ---------- Previous update was at 06:35 PM ----------

Finally I found out the solution, Thank you Rudic


#!/bin/bash liste_rep=folder/*
echo...
1,584
Posted By shellX
Hi Robin That code is very good. The...
Hi Robin

That code is very good.

The issue is it doesn't work when there are more then one tar.gz file in the folder.

--> Lets suposse $1 = folder
--> The content of my folder "folder" is...
1,584
Posted By shellX
@PEASANT Hi, This solution would be...
@PEASANT

Hi,

This solution would be great for a small number of folders.
But unfortunnatelly "for me" I've something like 1000 sub-folders with tar.gz files to uncompress.

I cannot type...
1,584
Posted By shellX
Hi, That's the point, I must extract the...
Hi,

That's the point, I must extract the file in the same folders.
Besides it doesn't work.
eRR mEssage : missing parameters for "-exec"
1,584
Posted By shellX
Uncompress several tar.gz files inside several folders
Hi,

I need to uncompress sevral tar.gz files that are located insides sevral folders using a shell script.


Folder tree looks like this :
/folder/001
/folder/002
/folder/003 Inside...
Showing results 1 to 8 of 8

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