10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need help in regard to developing a shell script to delete empty files from multiple specific locations. The directory paths will be stored in a text file. So the requirement is to read the text file for one specific path and then remove empty files from that particular path. Looping through... (4 Replies)
Discussion started by: Khan28
4 Replies
2. Shell Programming and Scripting
Hi All,
I need your help to find out an easy way to untar files from a tar file.
For example, I have a tar file which contains a lot of files that needs to untar in certain directories. I would like to untar them using one command instead of typing the following commands which is taking lots... (6 Replies)
Discussion started by: mohullah
6 Replies
3. UNIX for Advanced & Expert Users
Hi,
i want tar the files from one location and untar it to other location using single line.
Can any one help me
zip and unzip using single line command. (2 Replies)
Discussion started by: venikathir
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am just wondering is it possible to move or copy a file from a UNIX server to a different location e.g. the C drive on a computer?
I have used the cp command to move files to different locations on unix servers but it would be handy to move a file to my C drive.
I am currently... (3 Replies)
Discussion started by: crunchie
3 Replies
5. Shell Programming and Scripting
Hi everybody,
I need a script for below issue:
I have totally 15 different locations like */COUNTRY/in.
Only COUNTRy is the variable which changes for 15 countries.
For each location(one per country), there will be four files like abc_def_ddmmyyyy.txt, where ddmmyyyy is the old date.
... (1 Reply)
Discussion started by: rjanardhan83
1 Replies
6. Shell Programming and Scripting
I need a shell script to Uncompress untar all the files present in the directory (it should Uncompress an untar files present in its sub folders also)
In my work I get lots of tar files to untar and update the server, for this each time in need to type
Step1) “ Uncompress xyz1-3.tar.z”... (2 Replies)
Discussion started by: arewe
2 Replies
7. Shell Programming and Scripting
Hello,
Here is the situation..............
# pwd
/opt/123
# cat index.txt
abc-monitor/homedir/public_html/index.php
abc-monitor/homedir/public_html/test/index.php
abc-monitor/homedir/public_html/test1/index.php
# cp index.txt index.home
# cat /root/x (1 Reply)
Discussion started by: fed.linuxgossip
1 Replies
8. UNIX for Dummies Questions & Answers
Suppose you have a TAR file created with a different directory structure and you need to UnTar (or explode) the files to a different directory structure. How can this be done?
If TAR command cannot do this, are there any other alternatives (any other command) available to UnTar a .Tar file?
... (1 Reply)
Discussion started by: joshivaibhav
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I am unable to untar *.dpkg.md5 using tar command.
Could nay one help me out.
Thanks & Regards
Gauri (3 Replies)
Discussion started by: gauri
3 Replies
10. Shell Programming and Scripting
I am new to shell scripting and would appreciate any help I can get.
I need to write a Unix shell script that I will run whenever I have a tar file to uncompress(Korn shell). Please put in mind that I have different environements that I will run it on.
Thanks in advance ;) (4 Replies)
Discussion started by: nkem22
4 Replies