Search Results

Search: Posts Made By: abhishek1.618
12,764
Posted By abhishek1.618
it works but creates the folder called "no_name"...
it works but creates the folder called "no_name" with it. :(

Is there any way we can exclude this folder from getting inside the tar while creation.

---------- Post updated at 12:18 PM...
12,764
Posted By abhishek1.618
Same result ... runs without error but doesnt...
Same result ... runs without error but doesnt create a TAR

Now i have started getting this warning message too for past 2-3 attempts.

ksh: Cannot exceed the user or group quota
12,764
Posted By abhishek1.618
Yes i tried with - tar -cf...
Yes i tried with -
tar -cf /tmp/Test_shell/archive10.tar -C /tmp/Test_shell/ZipTestFolder/

it runs without error but i dont see any tar file getting generated

Same happens when i do it...
12,764
Posted By abhishek1.618
yes .. but i want to ignore directory references...
yes .. but i want to ignore directory references inside the tar and i am not aware of any other way of doing it.

I am running this command in WAS through java code so cannot do a cd to that...
12,764
Posted By abhishek1.618
tar directory -C
I m new to unix and trying to use tar command with -C option -

tar -cf /tmp/Test_shell/ZipTestFolder/archive10.tar -C /tmp/Test_shell/ZipTestFolder/ .

It creates one more folder no_name...
Showing results 1 to 5 of 5

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