Sponsored Content
Operating Systems Linux Red Hat Move files of a certain year to other directory Post 302415427 by codenjanod on Thursday 22nd of April 2010 02:52:04 PM
Old 04-22-2010
Apologies

The distinction is based on creation date of the files.

Examples will look similar to this:
Code:
Aug  3  2007 20070803-142942-1186144182.202734.WAV.gz
Aug  3  2007 20070803-154033-1186148433.204958.WAV.gz
Aug  3  2007 20070803-155954-1186149594.205511.WAV.gz
Aug  3  2007 20070803-162047-1186150831.206103.WAV.gz
Aug  6  2007 20070806-085914-1186383554.212839.WAV.gz
Aug  6  2007 20070806-090509-1186383909.213104.WAV.gz
Aug  6  2007 20070806-092228-1186384928.213627.WAV.gz
Aug  6  2007 20070806-100016-1186387199.383.WAV.gz

I then basically want to move all the files from 1 January to 31 December 2007 into a folder, and so on for each year.

Last edited by pludi; 04-22-2010 at 04:41 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Move all files in a directory tree to a signal directory?

Is this possible? Let me know If I need specify further on what I am trying to do- I just want to spare you the boring details of my personal file management. Thanks in advance- Brian- (2 Replies)
Discussion started by: briandanielz
2 Replies

2. UNIX for Dummies Questions & Answers

Move files based on year

I have a directory which has crores of files since from 2003. I want to move only the 2003 files to another directory. Please help in doing this. Thanks (1 Reply)
Discussion started by: IHK
1 Replies

3. Shell Programming and Scripting

Move files based on year of creation

Hi All, I have a directory which has crores of files since from 2003 till now. I want to move only the 2003 files to another directory. Please help. Thanks (2 Replies)
Discussion started by: IHK
2 Replies

4. UNIX for Dummies Questions & Answers

Move files based on year

Hi All, I have a directory which has crores of files since from 2003. I want to move ony the 2003 files to another directory. Please help (9 Replies)
Discussion started by: IHK
9 Replies

5. UNIX for Dummies Questions & Answers

move all 2008 year's file to destination directory

I am trying to move file created/modified in 2008 year to <new directory>. But trapped badly in Xargs {}. Looks like mv is not getting destination file properly. It assumes source file s to be destination directory n gives me erroir. "Target must be a directory" Run- #/home/mktrisk: find... (4 Replies)
Discussion started by: kedar.mehta
4 Replies

6. UNIX for Dummies Questions & Answers

Zip all files in a directory and move to another directory

Hi, need to zip all files in a directory and move to another directory after the zip.. i am using this one but didnt help me... zip -r my_proj_`date +%Y%m%d%H%MS`.zip /path/my_proj mv in_proj_`date +%Y%m%d%H%M%S`.zip /path/source/ i am trying to zip all the files in my_proj... (0 Replies)
Discussion started by: dssyadav
0 Replies

7. Shell Programming and Scripting

List files with date, create directory, move to the created directory

Hi all, i have a folder, with tons of files containing as following, on /my/folder/jobs/ some_name_2016-01-17-22-38-58_some name_0_0.zip.done some_name_2016-01-17-22-40-30_some name_0_0.zip.done some_name_2016-01-17-22-48-50_some name_0_0.zip.done and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies

8. UNIX for Dummies Questions & Answers

How to move gz files from one source directory to destination directory?

Hi All, Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder. using the find command . Could you please assist me how to put the automation using the shell script . ... (11 Replies)
Discussion started by: venkat918
11 Replies

9. Shell Programming and Scripting

How Create new directory and move files to that directory.?

Hi All, We have main directory called "head" under this we have several sub directories and under these directories we have sub directories. My requirement is I have to find the SQL files which are having the string "procedure" under "head" directory and sub directories as well. And create... (14 Replies)
Discussion started by: ROCK_PLSQL
14 Replies
Image::ExifTool::RIFF(3)				User Contributed Perl Documentation				  Image::ExifTool::RIFF(3)

NAME
Image::ExifTool::RIFF - Read RIFF/WAV/AVI meta information SYNOPSIS
This module is used by Image::ExifTool DESCRIPTION
This module contains routines required by Image::ExifTool to extract information from RIFF-based (Resource Interchange File Format) files, including Windows WAV audio and AVI video files. AUTHOR
Copyright 2003-2010, Phil Harvey (phil at owl.phy.queensu.ca) This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. REFERENCES
http://www.exif.org/Exif2-2.PDF <http://www.exif.org/Exif2-2.PDF> <http://www.vlsi.fi/datasheets/vs1011.pdf> http://www.music-center.com.br/spec_rif.htm <http://www.music-center.com.br/spec_rif.htm> <http://www.codeproject.com/audio/wavefiles.asp> http://msdn.microsoft.com/archive/en-us/directx9_c/directx/htm/avirifffilereference.asp <http://msdn.microsoft.com/archive/en- us/directx9_c/directx/htm/avirifffilereference.asp> <http://wiki.multimedia.cx/index.php?title=TwoCC> SEE ALSO
"RIFF Tags" in Image::ExifTool::TagNames, Image::ExifTool(3pm) perl v5.12.1 2010-01-25 Image::ExifTool::RIFF(3)
All times are GMT -4. The time now is 12:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy