10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
mail works for my personal email address
mailx -s "Alert" mymail@mycomp.com<results.txt mail fails for the Teams Distribution List (copied from outlook)
mailx -s "Alert" #My-Team@mycomp.com<results.txt
This was the first problem.
The second problem is if I have the subject line... (4 Replies)
Discussion started by: mohtashims
4 Replies
2. UNIX for Dummies Questions & Answers
I have a file in which each line is the name of another file. Is there a way to serve them to the command line? For example, if the file contains
file1.txt
file2.txt
file3.txt
...
file9.txt
is there a way to insert them in the command as a batch?
If I ran a command like
grep... (4 Replies)
Discussion started by: wbport
4 Replies
3. Shell Programming and Scripting
Hi Friends,
I'm facinf issue while moving large files using find command.I've a scenario like i've to move one day older files from one directory to anothe directory.I'm using the below command.
find $src_dir -name error -prune -o -type f -mtime +1 -exec mv {} $dest_dir \;
some times... (1 Reply)
Discussion started by: mail2mura
1 Replies
4. Shell Programming and Scripting
i have a large html file that has emails
like something@domain.com
and somethingdomain.com
how can i print the emails? its fine if duplicates show up and it doesnt need to save into a file or anything, just whatever is the easiest way to make some basic code for this
thanks! :) (2 Replies)
Discussion started by: vanessafan99
2 Replies
5. Shell Programming and Scripting
Hi All,
I'm facing this below error when I move files using find command....Please help out......
$ find /home/aa/ab -mtime +90 -type f -exec mv -f {} /home/aa/ab/ac \;
mv: 0653-405 /home/aa/ab/ac/MP_060520111245.csv and /home/aa/ab/ac/MP_060520111245.csv are identical.
mv: 0653-405... (2 Replies)
Discussion started by: HemaV
2 Replies
6. Shell Programming and Scripting
Hi,
I need to move 1000s of files from one folder to another.
Actually there are 100K+ files.
Source dir : source1
Target dir : target1
Now if try cp or mv commands I am getting an error message : Argument List too long.
I tried to do it by the time the files are created in the source... (6 Replies)
Discussion started by: unx100
6 Replies
7. Shell Programming and Scripting
Is there a way to move the files ALONE from one dir to another dir?
In my source dir,I have files as well as directories.I want to move the files alone to another dir and the directories should remain undisturbed.
If I use mv * < target dir> ,then the directories also moved.
Any... (4 Replies)
Discussion started by: prasperl
4 Replies
8. Shell Programming and Scripting
My process creates file like
abc.20090427.txt i.e abc.date.txt
next time when my process it has to detect if any previous "abc" exist.
If exist then move to archive and create a new abc file.
I am using test command but it doesnt allow wild card.
if ]
then
mv abc.*.txt... (7 Replies)
Discussion started by: pinnacle
7 Replies
9. Shell Programming and Scripting
Can you please tell me how to find a file in a directory and then if it exists i need to place it in a different folder?
I have to use "ls -lt" command
I mean this command is something existing one . can you please tell me how i set the directory path. Like
dir1/dir2/filename.csv to... (8 Replies)
Discussion started by: pochaman
8 Replies
10. Shell Programming and Scripting
Hello
Can someone guide me how to extract bulk emails into a single flat file ?
We receive mails (approx 1K daily ).
I want the contents of the emails for 'current date' to be dumped into one single text file.
Please help. (1 Reply)
Discussion started by: Amruta Pitkar
1 Replies