Sponsored Content
Full Discussion: Find Unread Files
Homework and Emergencies Emergency UNIX and Linux Support Find Unread Files Post 302858383 by krishmaths on Monday 30th of September 2013 07:20:33 AM
Old 09-30-2013
There are two options.

1. Rename the file after it is loaded to the db with a suffix, say .processed. Use this suffix to identify already read file.

2. Create a list file which would contain names of files that are processed (i.e., loaded to db). When you load the file to db, make an entry in this list file with the name of the file loaded.
Now, use this list file to identify read and unread files.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mark messages as unread

Hi Does anyone know how to mark messages as unread either in Pine or from a Terminal or some such ? Thanks, James (1 Reply)
Discussion started by: Rylann
1 Replies

2. Shell Programming and Scripting

Find files older than 20 days & not use find

I need to find files that have the ending of .out and that are older than 20 days. However, I cannot use find as I do not want to search in the directories that are underneath the directory that I am searching in. How can this be done?? Find returns files that I do not want. (2 Replies)
Discussion started by: halo98
2 Replies

3. Shell Programming and Scripting

Little bit weired : Find files in UNIX w/o using find or where command

Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same. Thanks in advance. Regards Jatin Jain (10 Replies)
Discussion started by: jatin.jain
10 Replies

4. Shell Programming and Scripting

perl (conky) and gmail/IMAP unread message count

Hi all, I use Conky monitor (Conky - Home) for my laptop and I needed a script to see the count of new messages on gmail/IMAP, then I made this small perl script (I hope they can be useful to someone :)) gimap.pl #!/usr/bin/perl # gimap.pl by gxmsgx # description: get the count of unread... (0 Replies)
Discussion started by: gxmsgx
0 Replies

5. Shell Programming and Scripting

what is the find to command to find the files created last 30 days

what is the find to command to find the files created last 30 days (5 Replies)
Discussion started by: rajkumar_g
5 Replies

6. UNIX for Dummies Questions & Answers

Pine continuously marks old messages as unread

Hi, I have been having problem with pine for the past few weeks. I use email clinet Thunderbird to view my emails. Every time I open the thunderbird, all my emails were marked as unread. So, I logged into our email server to see what's wrong. even when I opened pine, all messages are labeled as... (0 Replies)
Discussion started by: veepine
0 Replies

7. UNIX for Dummies Questions & Answers

How to see unread e-mails only in Alpine?

Does anyone have any idea how to see only unread (new) e-mails in the Alpine client when using IMAP? I finally have a fast IMAP client, but don't want to go over all the e-mails I've already read through other clients... Thanks in advance for any hints. ---------- Post updated at 01:21 PM... (0 Replies)
Discussion started by: JamesR404
0 Replies

8. UNIX for Dummies Questions & Answers

find Search - Find files not matching a pattern

Hello all, this is my first and probably not my last question around here. I do hope you can help or at least point me in the right direction. My question is as follows, I need to find files and possible folders which are not owner = AAA group = BBB with a said location and all sub folders ... (7 Replies)
Discussion started by: kilobyter
7 Replies

9. Shell Programming and Scripting

Find command to find a word from list of files

I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation. When I tried like below, -bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation -bash-4.1$ find ./ -name % Retail by State find: paths must precede expression: Retail Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies

10. Shell Programming and Scripting

find -ctime -1 cannot find files without extention

The problem is this one. I tar and gzip files on remote server find . -ctime -1 | tar -cvf transfer_dmz_start_daily.tar *${Today}*.*; Command find . -ctime -1 Doesn't find files without extension .csv .txt I have to collect all files for current day, when the program... (1 Reply)
Discussion started by: digioleg54
1 Replies
GAC(1)								   User Commands							    GAC(1)

NAME
GAC - The GAP Compiler SYNOPSIS
gac [-c|-d] [-o <output>] {-f<option>} <input>... DESCRIPTION
GAC compiles the input files. Input files must be GAP source code (suffix '.g' or '.gap'), C source code (suffix '.c'), or compiled code files (suffix '.o'). If neither -c nor -d is given, then 'gac' produces a new kernel, which contains the compiled code for all the input files. -c Compiles the input files to statically loadable object files, which must be linked together to a new kernel. -d Compiles the input files to dynamically loadable object files, which can be loaded by a kernel at runtime. -C Only compiles the input files to C code, which will require compilation and linking to be usable. -r Statically compiled files will be assumed to be given by pathnames relative to the GAP root, and will be compiled for automatic loading when files are sought relative to the GAP root. -o <output> Name the output file <output>. -ffast-int-arith Emit code for arithmetic operations, which works faster if both operands are small integers and slower otherwise. -ffast-plain-lists Emit code for list access, which works faster if the list is a plain list and slower otherwise. -ffast-list-funcs Inline the functions 'Add' and 'Length' the code, which makes it a bit faster. -fno-check-types Emit no error checks for list access, which makes it faster but may dump core if an error happens. -p <option> Pass the option <option> to the C compiler. -P <option> Pass the option <option> to the C linker. SEE ALSO
gap(1) You can read the complete manual in /usr/share/gap/doc or you can use the online help system. Type ?help inside GAP to access it. AUTHORS
The GAP Group <http://www.gap-system.org> COPYRIGHT
Copyright (1987--2006) by the GAP Group, GAP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GAP team March 2003 GAC(1)
All times are GMT -4. The time now is 11:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy