10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, I need some help. I have files in one and the same directory, but with different extensions, like this:
file1.IN
file2.IN
file3.IN
file1.OUT
file2.OUT
Apparently some files with OUT extension can be missing. So I want to compare *.IN and *.OUT, ignoring the extension and get result... (3 Replies)
Discussion started by: apenkov
3 Replies
2. Shell Programming and Scripting
Hi,
How can i traverse to the last subfolder in all the directories.
eg:
i have the below folders structure
f1/sf1/r1
f2/sf2/r2
f3/sf3/r3/r4
i need to move to the last directory in each directory.
Can anyone tell me a solution for this?
I saw an example that does that.
find . -type... (2 Replies)
Discussion started by: Little
2 Replies
3. Shell Programming and Scripting
Hi,
I have got a requirement for which i need your help. The following problem is required to get solved in PERL SCRIPT. Here is the requirement.
There are 4 folders say SRC_DIR1, SRC_DIR2 and TGT_DIR_1,TGT_DIR_2
(Note: both path of SRC_DIR1 & SRC_DIR2 are different but both path of... (4 Replies)
Discussion started by: shadow_fawkes
4 Replies
4. Shell Programming and Scripting
Hi,
I have got a requirement for which i need your help. The following problem is required to get solved in PERL SCRIPT. Here is the requirement.
There are 4 folders say SRC_DIR1, SRC_DIR2 and TGT_DIR_1,TGT_DIR_2
(Note: both path of SRC_DIR1 & SRC_DIR2 are different but both path of... (1 Reply)
Discussion started by: shadow_fawkes
1 Replies
5. Shell Programming and Scripting
Within a BASH environment, I need to search through a filesystem looking for the last subdirectory. Once the last subdirectory of the filesystem is found, I need to create another directory within it:
Basic example:
/u01/data1/project_1/proj_data1/score... (9 Replies)
Discussion started by: leepet
9 Replies
6. Shell Programming and Scripting
Hi All ,
I am new to UNIX.
I have a requirement where user transfers 10-15 files into a directory "/upload".
File name will be like T1234_H and T1234_D or R1234_H and R1234_D .
The _H and _D files are associated to each other.They must always be together in the server.
Once the files are... (2 Replies)
Discussion started by: Raviteja_B
2 Replies
7. Shell Programming and Scripting
got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies
8. Shell Programming and Scripting
Hi folks
I need to write a shell script to check whether source and the destination has the same files. The source and destination are over two servers and connecting through ssh. It should even compare the date i.e, the complete file name, date stamp and size should match. Should list out all the... (3 Replies)
Discussion started by: Olivia
3 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I'm really new to Unix scripts and commands but i think i'm eventually getting the hang of some of it.
I have a task which is to create some kind of script which compares the file names in a directory, with the associated file name in a .txt file. We send out some data and Unix has a... (1 Reply)
Discussion started by: gman
1 Replies
10. UNIX for Dummies Questions & Answers
Hi!
I am a user of a workstation. I have got my own previlages on my system. Still I would like to have a security for my data.
Can I set password or write a script that the entry to a particular subdirectiry is restricted?:confused: (1 Reply)
Discussion started by: sskb
1 Replies