Sponsored Content
Full Discussion: Delete files by date
Top Forums Shell Programming and Scripting Delete files by date Post 302464470 by cabrao on Wednesday 20th of October 2010 08:43:38 AM
Old 10-20-2010
I didn't read the part saying "..files created..." sorry.

I don't know how to do it and according to the UNIX FAQ, it is not possible to see the file creation time.

Files have a last-modified time (shown by "ls -l"), a last-accessed time (shown by "ls -lu") and an inode change time (shown by "ls -lc").

Code:
http://www.faqs.org/faqs/unix-faq/faq/part3/section-1.html

This User Gave Thanks to cabrao For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to delete files by date

My apache logs are saved in the following format (using rotatelogs): Oct 8 01:59 access_log.1002412800 Oct 9 01:55 access_log.1002499200 Oct 10 01:58 access_log.1002585600 Oct 11 01:56 access_log.1002672000 Oct 12 01:59 access_log.1002758400 I would like to run a cronjob once a week to... (2 Replies)
Discussion started by: jamesbond
2 Replies

2. UNIX for Dummies Questions & Answers

Delete files by date

Hi, Can anyone help me delete old files in a directory? Let's say, I want to delete all files which are 365 days old. Thank you. (2 Replies)
Discussion started by: risk_sly
2 Replies

3. Solaris

Delete files according to date

Hi All, I am wondering whether is there a way to remove files according to date. For example, I have 500 files between Jan - April, and I want to remove files created only on March. Is there any way to do this? Thanks in advanced. rgds, Ronny (2 Replies)
Discussion started by: ronny_nch
2 Replies

4. Shell Programming and Scripting

Delete the files by exact date

we have files created by Aug12 and Feb 23 and Mar10 i want to delete the files which has created on Mar 10 Kindly let me know the script to delete the files which is created by Mar 10 (4 Replies)
Discussion started by: venikathir
4 Replies

5. Shell Programming and Scripting

Needs to delete particular date files in a directory

Hi Guys, I need help on deleting particular date files in a directory. I have to delete thousands of files with respect to particular date. Could anyone help on this to delete particular date files at a time? Thanks in Advance (2 Replies)
Discussion started by: teddy2882
2 Replies

6. UNIX Desktop Questions & Answers

How to delete files from a specific date?

Guys, I am wondering how to remove files for a specific date in a directory? for instance when I do ls -l , i see many files. And i want to delete files for date May 15: 58252015 May 10 03:45 my_05102012.log 58252015 May 15 06:45 my_05152012.log Thanks (8 Replies)
Discussion started by: DallasT
8 Replies

7. Shell Programming and Scripting

Delete log files content older than 30 days and append the lastest date log file date

To delete log files content older than 30 days and append the lastest date log file date in the respective logs I want to write a shell script that deletes all log files content older than 30 days and append the lastest log file date in the respective logs This is my script cd... (2 Replies)
Discussion started by: sreekumarhari
2 Replies

8. UNIX for Dummies Questions & Answers

Delete files of a particular date

dear all, i m a newbie and i want to delete all files of a particular date,how can i do this? your help appreciated,thanks in advance. OS:RHEL 6 (5 Replies)
Discussion started by: mdabdul
5 Replies

9. UNIX for Dummies Questions & Answers

How to delete all the files older than a date?

Hi, I need a command for deleting all the compress files *.Z that are older than the current date - 5 days. Basically I have a directory where daily I meet some back up files and I want to remove automatically the ones 5 days (or more) older than the current date. How can I write a 'rm' command... (1 Reply)
Discussion started by: Francy
1 Replies

10. UNIX for Dummies Questions & Answers

Delete Files from a date

I'm quite new to Unix but I want to delete some old backup files stored in a directory. the backups are stored on a network storage device located at /mnt/terastation12/backup. I want to delete everything upto one month ago. would the following command in Unix Sun do that? find... (5 Replies)
Discussion started by: dbajtr
5 Replies
snap2tzx(1)							     Emulators							       snap2tzx(1)

NAME
snap2tzx - Convert ZX Spectrum snapshot to .tzx tape images SYNOPSIS
snap2tzx [-1 string] [-2 string] [-b colour] [-g string] [-l string] [-o filename] [-r] [-s speed] [-v] [-$ filename] snapshot DESCRIPTION
snap2tzx converts a ZX Spectrum snapshot into a .tzx tape image. OPTIONS
-1 string causes string (which has a maximum of 32 characters) to be shown while loading. -2 string causes string (maximum 32 characters) to also be shown while loading. -b colour specifies the border colour while loading. -g string causes string (maximum 32 characters) to be used as the game name while loading. -l string causes string (maximum 8 characters) to be used as the BASIC filename in the loader. -o filename causes the output to be sent to filename. -r causes the final line of attribute data in the loading screen to be bright. -s speed specifies the speed of the loader; available values for speed are 0 (1500 bps), 1 (2250 bps), 2 (3000 bps) and 3 (6000 bps). -v specifies verbose output. -$ filename specifies that the ZX Spectrum screen stored in filename should be used as the loading screen. snapshot specifies the snapshot (in a format supported by libspectrum(3)) to be converted. In any string parameter, the tilde (~) will be converted into a copyright symbol. BUGS
None known. SEE ALSO
fuse(1), fuse-utils(1), libspectrum(3), listbasic(1), snapconv(1) The comp.sys.sinclair Spectrum FAQ, at http://www.worldofspectrum.org/faq/index.html. AUTHOR
Philip Kendall (philip-fuse@shadowmagic.org.uk). Tomaz Kac wrote z802tzx (ftp://ftp.worldofspectrum.org/pub/sinclair/tools/unix/z802tzx-1.2.tar.gz), on which snap2tzx is very heavily based. Martijn van der Heide wrote the turbo-loading code, originally for Taper (http://www.worldofspectrum.org/taper.html). Version 1.0.0 16th December, 2010 snap2tzx(1)
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy