Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Get the list of files for a given date Post 302213830 by vanagreg on Friday 11th of July 2008 06:27:54 AM
Old 07-11-2008
Get the list of files for a given date

Hi,

the command "ls -l" gives the list of files of a directory with details such as date and size.
Is there a way to restrict this list to see only files created on a given date? Suppose I want to list only the files created today, what is the command to type?

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

list files modded since a certain date

Hi All First post here :) I have a basic grasp of unix, and have shell access to my website server. I'm looking for a unix command line that will list all files, in the current and all subfolders, created or modified since a specified date. If the list can be outputted to a file as well, so... (7 Replies)
Discussion started by: pasher
7 Replies

2. UNIX for Dummies Questions & Answers

list of files in date order

Im on HP/UX and am trying to find the command like an ll but that will sort showing the most currently modified programs first. Can anyone help me with that? :cool: (2 Replies)
Discussion started by: Jeannine
2 Replies

3. Solaris

List files with a specific date...

Hi all, thanks in advance for reading and anyposts... I was wondering if its possible to find all files in a directory with a specific date. I know I can do: but that will only give a list of files greater than todays date... Any ideas? Thanks, Marky Mark... (4 Replies)
Discussion started by: B14speedfreak
4 Replies

4. Solaris

command to list files that are created before some date

Can you please let me know the command to list the files that are created before some date, this we want to use for the following Eg: Move all the files that got created before 2006 to new folder in Solaris (3 Replies)
Discussion started by: csreenivas
3 Replies

5. UNIX for Dummies Questions & Answers

Create a list of files that were modified after a given date.

Hello Mates! I'm kinda new to unix and need to a solve a problem. Input: date Situation: With the given date I need to find a list of all such files starting from a given path that were modified after the given date. I experimented with the "find" with "-newer" but did not quite get it... (4 Replies)
Discussion started by: rkka
4 Replies

6. UNIX for Dummies Questions & Answers

Sorting list of files per date column

Hi all, I have a pecular issue in sorting these files (not an ls -lrt) in Solaris environment. All the below files are modified on November 4th, but I want to sort these files as per date (eg: 01May07_1623 = ddmmmyy_hhmm) Nov 4 18:27 SONYELEC00.GI22973.01May07_1623.gpg Nov 4 18:27... (10 Replies)
Discussion started by: shivaastrogun
10 Replies

7. UNIX for Advanced & Expert Users

List the particular date files only

i want to list only the particular date file only in the folder. (1 Reply)
Discussion started by: kingganesh04
1 Replies

8. Shell Programming and Scripting

List the file or files with last modification date

hi. I need help my programing friends :p I need to list all the files with a certain name (for example FileName) by last modification date but only the one with the last date. If there are two files with the same name and same modification date it should print the both. For example in this set... (6 Replies)
Discussion started by: KitFisto
6 Replies

9. Shell Programming and Scripting

List files with Date Range and Zip it

Hi all, I am using the below script which display the files in the folder with the date range we specify. I want to add extra functionality that, The listing files should be zipped using gzip. I tried to add exec gzip at the last line but it is not working. Suggestions please. ... (2 Replies)
Discussion started by: nokiak810
2 Replies

10. Shell Programming and Scripting

How to list files that are not first two files date & last file date for every month-year?

Hi All, I need to find all files other than first two files dates & last file date for month and month/year wise list. lets say there are following files in directory Mar 19 2012 c.txt Mar 19 2012 cc.txt Mar 21 2012 d.txt Mar 22 2012 f.txt Mar 24 2012 h.txt Mar 25 2012 w.txt Feb 12... (2 Replies)
Discussion started by: Makarand Dodmis
2 Replies
EXTUNDELETE(1)						      General Commands Manual						    EXTUNDELETE(1)

NAME
extundelete - utility to undelete files from an ext3 or ext4 partition. SYNOPSIS
extundelete [options] device-file... DESCRIPTION
extundelete is a utility that can recover deleted files from an ext3 or ext4 partition extundelete uses the information stored in the partition's journal to attempt to recover a file that has been deleted from the partition. There is no guarantee that any particular file will be able to be undeleted, so always try to have a good backup system in place, or at least put one in place after recovering your files! OPTIONS
--version Prints the version number of extundelete. --help Print a brief usage summary for extundelete. Partition name Name of the partition that has deleted files, such as /dev/sda3. Could also be the file name of a copy of the partition, such as that made with dd. --superblock Prints information about the filesystem from the superblock. --journal --superblock Prints information about the journal from the journal's superblock. --inode # Prints the information from the inode number of the filesystem given, such as "--inode 2". --block # Prints the contents of the block, called as "--block 9652". --restore-file path/to/deleted/file Attempts to restore the file which was deleted at the given filename, called as "--restore-file dirname/filename". --restore-inode # Used to restore inodes by number, called as "--restore-inode 2569". Also accepts a list of inodes separated by only commas, such as "--restore-inode 2569,5692,6925". --restore-files filename Restores a list of files. First, construct a list of files in the same style as would be used in the --restore-file option, and save it to the file "filename". Then, this option may be used to attempt to restore those files with a single call to extundelete. This form also reduces redundancy from multiple calls parsing the journal multiple times. --output-dir path/to/dump/recovered/files Restores files in the output dir 'path'. By default the restored files are created under current directory 'RECOVERED_FILES' --restore-all Restores all files possible to undelete to their names before deletion, when possible. Other files are restored to a filename like "file.NNNN". --restore-directory path/of/directory Restores all files possible to link to specified directory to their names before deletion, when possible. -j journal_dev Specifies the device that is the external journal of the file system. -b block_number Specifies the block number of the backup superblock to be used when opening the file system. -B block_size Specifies the block size of the partition to be used when opening the file system. --before date Only restore files deleted before the date specified, which should be in the form of the number of seconds since the UNIX epoch. Use a shell command like $ date -d "Aug 1 9:02" +%s to convert a human-readable date to the proper format. The conversion from the number of seconds to a readable format may be found by using either of the following: $ date -d@1234567890 $ perl -le "print scalar localtime 1234567890" --after date Only restore files deleted after the date specified, which should be in the form of the number of seconds since the UNIX epoch. See the notes for the --before option for more information. AUTHOR
extundelete was written by Nic Case <number9652@users.sourceforge.net> Copyright (C) 2009, 2010 This manual page was written by Elias Alejandro Ano Mendoza <ealmdz@gmail.com>, for the Debian project (and may be used by others). September 29, 2010 EXTUNDELETE(1)
All times are GMT -4. The time now is 09:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy