10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to copy the dir/subdir structure from SERVER-A to SERVER-B without copying all the files in each dir.
Is it possible using SCP / SFTP command?
SERVER-A has following two dir/subdirectories and files under each subdir.
... (1 Reply)
Discussion started by: Hangman2
2. Shell Programming and Scripting
I need to move all files from a dir & its all subdir to Archive folder which is indise dir only. and moved filename should changed to complete path ( Like Dir_subdir_subdir2_.._filename ). also all files names shoud capture in a file in order to mail
I written below code ... (11 Replies)
Discussion started by: minijain7
3. Shell Programming and Scripting
Following are the list of files available in the dataout directory
now the tar file needs to be created as follows.
tar -cvf ab.tar *.gzAll the files with extn .gzg has to be bundled in the tar file.
Once the tar file is created, the files which are... (9 Replies)
Discussion started by: kmanivan82
4. Shell Programming and Scripting
Hi Guys ,
I want create files Dire and Sub Dire. as same time using variable.
And i want delete all after done with my script.
Thanks (2 Replies)
Discussion started by: pareshkp
5. UNIX for Advanced & Expert Users
Hello. I`m writing a bash script who archive log files and send them to backup server. I need some kind of checking mechanism for *.tar.gz files.
I found something like: gunzip -t file.tar.gz //Not output from it.
And for tar: tar tf file.tar.gz //Only lists archive
1.) I need make a... (3 Replies)
Discussion started by: jabalv
6. Shell Programming and Scripting
I want to run git status for the dir which has subdir ".git" in it with dir path mentioned in output log?
If a dir does not have .git subdir then skip that dir.
Dir will have 100 main dirs & 500 + subdirs and so on.
I appreciate all your help :b: (4 Replies)
Discussion started by: dragon.1431
7. Shell Programming and Scripting
Hello, I have a directory www with multiple directories. Every directory has site name with .htm, .html, .php files or sub directories with .htm, .php, .html file as example
- sitename 1
- site 1
- sitename 2
- sitename 3
What I'm looking for is a... (7 Replies)
Discussion started by: andyjill
8. Shell Programming and Scripting
I have created a directory structure and under the directory subdirectories and files are there.I need to move the entire thing
to another path.How can i write a script to do that.
currently the path of files is as below :
/data1/serial/mcycle/archive : under this path differnt sub dir exist ... (6 Replies)
Discussion started by: dr46014
9. Shell Programming and Scripting
What will be the best way to do the follwing:
i have a file calld dir.list
i want to run a script that will take each of the item in the file and create a new dir in a location that i'll choose
it nee to do mkdir cav
mkdir brif... (8 Replies)
Discussion started by: banjo
10. UNIX for Dummies Questions & Answers
hello, im a newbie in unix scripting. can someone pls send me a sample script that will tar files in the folders of a specific directory, but will exclude specific files, and afterwards, will ftp the tar into another server.
in this directory, pshrprod:/opt/psoft/weblogic/818sp9_80... (2 Replies)
Discussion started by: ajrandrup