10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I have very old files in my server like from 2012 and i want to delete them,
Please help.
Thanks in advance.. (2 Replies)
Discussion started by: nanz143
2 Replies
2. Shell Programming and Scripting
Hi,
Below are the sample data for txt files.
txt file 1
Partnumber|catgroup_id
10001082|46016
10001093|4680
10001093|386003
10001093|463004
10003251|683
10003251|63005
10003252|463005
10003252|4683
10003260|463005
10003260|4683
10003264|4683
10003264|463005
13420000|67... (5 Replies)
Discussion started by: Ankita Talukdar
5 Replies
3. Shell Programming and Scripting
hi,
Am trying to acrhive a bunch of files on some ftp site and somehow managed to come out with the below logic.
I'm getting "syntax error: unexpected end of file" error. Interestingly this below snipeet works fine if run for the first time but the subsequent runs fail!
Anybody has any idea... (3 Replies)
Discussion started by: Amee5
3 Replies
4. UNIX for Dummies Questions & Answers
hi,
I need a help. I used this command to list all the log files which are for more than 10 days to a text file.
find /usr/script_test -type f -mtime +10>>/usr/ftprm.txt
I want all these files listed in the ftprm.txt to be ftp in another machine and then rm the files.
Anyone can help me... (8 Replies)
Discussion started by: kamaldev
8 Replies
5. UNIX for Dummies Questions & Answers
So I have a text file that has list of files i need to search. How do I go about searching them.
Ex:
mylist.txt
includes
123.jpg
456.jpg
......
etc
Path: /cygdrive/c/temp/
I want to see full path of where the file is found from given search... (5 Replies)
Discussion started by: mgltacoma
5 Replies
6. Solaris
Dear experts,
In a directory i have both *.TXT and *.txt files. I have a script-
for file in `ls *.txt`; do
mv $file /tmp/$file
How to list both *.txt and*.TXT file in one command so that script will move both .txt or .TXT whatever it find.
br//purple (4 Replies)
Discussion started by: thepurple
4 Replies
7. Shell Programming and Scripting
Hi,
Suppose I have 2 files of yesterday's. And today I have received 3 files.
Before processing anything I want to archieve the 2 files of yesterday's into a different folder.
How can this be done?
Regards,
Sunitha (1 Reply)
Discussion started by: Sunitha_edi82
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have already read a lot of posts on sending attachments in unix...but none of them were of help for my problem...so here goes..
i wanna attach a text file and send to a mail id..used the following code :
uuencode "$File1" "$File1" ;|mail -s "$Mail_sub" abc@abc.com
it works... (2 Replies)
Discussion started by: ash22
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I need to convert PS files to txt file.
I thought of using ps2ascii, but its not installed in my AIX box, any other option? (2 Replies)
Discussion started by: redlotus72
2 Replies
10. UNIX for Dummies Questions & Answers
I have recently taken on a new position and want to clean up several file locations that currently hold data back through 1999. While I need to keep this data for business reasons, I have created directories to help sort out the individual years. Is there a quick command that I can use to archive... (2 Replies)
Discussion started by: dmhammond
2 Replies