10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear All,
I have a situation where I want to copy some files of type .txt.
These files are o/p from one program. Some of the files are named as
fileName .txt instead of fileName.txt
after fileName by mistake I have specified "space". Now I want to move these files as follows.
mv fileName*... (13 Replies)
Discussion started by: linuxUser_
13 Replies
2. UNIX for Advanced & Expert Users
Hi, I have a below challenging task where iam unable to find the block and copy the same into a file.
I tried my luck,howver iam unable to reach the first and second step..Can anyone help me with a clue or with the commands so that i can give a try.
1. search the <number>9966993366</number>... (2 Replies)
Discussion started by: cskumar
2 Replies
3. UNIX for Dummies Questions & Answers
Hi everybody,
I've been running some analyses, the results of which have been stored in a sequential manner with a directory structure like step0, step1, step2, ... for iterations 0-2, for example. Each iteration contains several nested folders, with three pieces of information I need. I need to... (1 Reply)
Discussion started by: JDenton
1 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone. I'm trying to help my wife with a project, she has exported 200 images from many different folders, unfortunately there was a problem with the export and I need to find the master versions so that she doesn't have to go through and select them again.
I need to:
For each image in... (2 Replies)
Discussion started by: Rhinoskin
2 Replies
5. Shell Programming and Scripting
Hello :)
can someone please help me with this task:
I am in the shell, in folder "Main"
below the folder Main are sub folders: "sourceA", "Source B", and "target"
in sourceA and source B are files, and in folder "Main" is a textfile, with filenames, one filename per line.
I need a... (4 Replies)
Discussion started by: Y-T
4 Replies
6. Shell Programming and Scripting
Hello, i have a requirement where i need to create a script which would check for a file name called XX_YYYY_ZZ in the directory inbound and as soon as the file is delivered in this directory a email needs to be sent to a user abc@yahoo.com
The plan is to put script in the core process to run... (8 Replies)
Discussion started by: rajasinn
8 Replies
7. Shell Programming and Scripting
Hi all,
I have a file with X number of lines.
Somewhere within each line will be an email address following the format:
<telephone_number>@domain.net
Each line is not a set length and there are no delimiters to work with.
I want to write a script that extracts the telephone number... (3 Replies)
Discussion started by: mandriver
3 Replies
8. Shell Programming and Scripting
Hi all,
I have a folder '/samplefolder' in which i have some files like data0.txt, data1.txt and data2.txt.
I have to search the folder for existence of the file data0.txt first and if found have to copy it to some other file; next i have to search the folder for existence of file... (5 Replies)
Discussion started by: satish2712
5 Replies
9. Shell Programming and Scripting
Hi All
i am writing a shell script which will search for a string "expires". once the search string is found it has to give the email address as the output and send an email to the person
This is basically to find the encrypetd keys which are loaded in the unix server
Below are sample... (10 Replies)
Discussion started by: ranga27
10 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
I have a question relating to finding and copying files.
i need to find the .pdf files from the specified directory which has subdirectories too. I only need .pdf files and not the directories and need to copy those files into my current directory.
copy files from :... (5 Replies)
Discussion started by: bregoty
5 Replies