Sponsored Content
Top Forums Shell Programming and Scripting find files for next day of the date entered Post 302572792 by Klashxx on Friday 11th of November 2011 06:05:41 AM
Old 11-11-2011
The easiest way could be get your "limit" file and use find to do your stuff:
Code:
# ll
total 0
-rw-r--r--   1 xxx     x              0 Nov 11 11:50 1.dat
-rw-r--r--   1 xxx     x               0 Nov 11 11:50 2.dat
-rw-r--r--   1 xxx     x               0 Nov 11 11:50 3.dat
-rw-r--r--   1 xxx     x               0 Nov 11 11:50 4.dat

Code:
#find . -type f -newer 1.dat 
./2.dat
./3.dat
./4.dat

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find Day of the Week from the given date (Perl)?

How to find the Day of the Week of the given Date using perl? If I have a date in YYY--MM-DD format, how to find the DOW? Based on that, I need to find the following sunday. Pls help. (5 Replies)
Discussion started by: deepakwins
5 Replies

2. Shell Programming and Scripting

Function to find day of any given date.

Hi, Is there any function in Unix by which v can find the exact day of any given date. Like i need to get Wednesday if i give 05 07 2008 (format MM DD YYYY) Thanks, RRVARMA (5 Replies)
Discussion started by: RRVARMA
5 Replies

3. Shell Programming and Scripting

find files modified more than a day

Hi All, I am using the below command to check the files modified within last 24hours find /home/karthik -mtime -1 -type f -exec ls -l {} \; What parameter do i need to add in the above command to check the files modified in last 2 or 3 days Kindly let me know if any other alternative... (2 Replies)
Discussion started by: karthikn7974
2 Replies

4. Shell Programming and Scripting

validating user entered date

I need the date validation. I searched in the google but i didn't find my requirements. requirements: 1) user has to enter the date in YYYY/MM/DD format 2) MM validations 3) DD validations. and if the month is april it should allow 30 days only and for May month it should allow 31 days like... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies

5. HP-UX

To find day out of date in HP-unix

Dear Frends, Could you please help me with the command or option by which I can find day where the input is date(can be of future or past). I do have for linux, However it is not working @ hp unix. Please help. Regards Rahul (4 Replies)
Discussion started by: Rahul chitriv
4 Replies

6. Shell Programming and Scripting

Find files of particular day

Hi, I need to find all files of particular day lets say for 2nd august in below. -rw-r--r-- 1 skl eusdc 8168 Aug 5 19:31 aabc123.txt -rw-r--r-- 1 skl eusdc 4251 Aug 5 19:31 aabc124.txt -rw-r--r-- 1 skl eusdc 4252 Aug 6 19:31 aabc125.txt -rw-r--r-- ... (15 Replies)
Discussion started by: sachinkl
15 Replies

7. Shell Programming and Scripting

How to view files from a specific date/day

I wan to view files in a directory of a specific date. For example a log directory has log files . I want to view the list of the files which were generated on 01-May-2011. Is there any option/proces to perform it?? (1 Reply)
Discussion started by: mady135
1 Replies

8. Shell Programming and Scripting

How to find the date of previous day in shell script?

Hi Experts, i am using the below code get the date of previous day. #!/usr/bin/ksh datestamp=`date '+%Y%m%d'` yest=$((datestamp -1)) echo $yest When i execute the code i am getting output as: 20130715 What i am trying here is, based on the date passed i am fetching previus day's... (0 Replies)
Discussion started by: learner24
0 Replies

9. Shell Programming and Scripting

To get the files in a directory for the given date (User entered date)

Need a ksh script to get the files that were created or modified in a directory on a particular date entered by the user. For example if a directory contains files as below : > ll total 41 -rw-rw-r-- 1 psn psn 199 Aug 23 07:06 psn_roll.sh -rw-rw-r-- 1 psn psn ... (10 Replies)
Discussion started by: ramprabhum
10 Replies

10. AIX

Need to get the next day's date of the user entered date

I need to get the next day's date of the user entered date for example: Enter date (yyyy/mm/yy): 2013/10/08I need to get the next day's date of the user entered date Desired Output: 2013/10/09Though there are ways to achieve this is Linux or Unix environment (date command) ,I need to... (1 Reply)
Discussion started by: rpm120
1 Replies
packxxk(1)						      General Commands Manual							packxxk(1)

NAME
packxxk - pack TI graphing calculator software files SYNOPSIS
packxxk [ -t type ] [ -d date ] [ -o xxkfile ] appfile ... DESCRIPTION
packxxk is a program to generate Flash Application and OS files for the Texas Instruments TI-73, TI-83 Plus, TI-84 Plus, TI-89, and TI-92 Plus graphing calculators. The files generated are in the ``TIFL'' format used by recent versions of TI's GraphLink and TI-Connect soft- ware. The input file to packxxk must be in TI-Hex or TIFL format to begin with, and (in order for the application to be installed) it must have been digitally signed before being packed. packxxk does not do this, nor does it check for the presence of a signature. You can use rab- bitsign(1) to sign applications in several common formats. If multiple input files are specified, packxxk creates a multi-part TIFL file. OPTIONS -t type Specify the type of program (e.g., `8xk' for a TI-83 Plus application, or `73u' for a TI-73 operating system.) The default behavior is to infer the program type from the name of the input file. (If the input file does not have a recognized suffix, the type is guessed based on the contents of the program header.) -c id Manually specify the calculator device ID (e.g., 0x73 for the TI-83 Plus, or 0x74 for the TI-73.) -d [ month/day/year | day-month-year ] Manually specify the date stamp for the application. The default is to use the current date in the local time zone. -o xxkfile Specify the output file name (default is to write to standard output.) SEE ALSO
rabbitsign(1) AUTHOR
Benjamin Moody <floppusmaximus@users.sf.net> RabbitSign 2.0 July 2009 packxxk(1)
All times are GMT -4. The time now is 11:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy