Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Moving Files within a particular date range Post 17496 by rooh on Saturday 16th of March 2002 05:04:21 AM
Old 03-16-2002
Question Moving Files within a particular date range

Hi,
Can someone please help me with this.

Actually i want to move files from one directory to another directory , But I just want to move files of a specific data range.

For ex:
This is my directory which contains all fine.
/home/Rooh
Then there is a long listing of files.
suppose this directory contains files from feb 01 , march01, april 01.
But I just want to move files of Feb 01 to another Directory for ex:
/home/abd/FILESFEB_01

How can I do this.
I have tried alot but somehow I am unable to get the output I want.
I have also tried with -mtime but doesn't give me the desired output.
Your Help will be highly appreciated.
Thanks.
ROOHSmilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cp only files in certain date range

hi all, I'm trying to do a cp only on files I created on a given day or within a certain date range. What's the best way to do this? Cheers, KL (1 Reply)
Discussion started by: ee7klt
1 Replies

2. Shell Programming and Scripting

Sorting Files by date and moving files in date order

I need to build a k shell script that will sort files in a directory where files appear like this "XXXX_2008021213.DAT. I need to sort by date in the filename and then move files by individual date to a working folder. concatenate the files in the working folder then start a process once... (2 Replies)
Discussion started by: rebel64
2 Replies

3. UNIX for Dummies Questions & Answers

How to display files that have been modifed between a given date range

Hi, I am new to Unix and was trying different ways of how to display the list of file names modified between a given date range in sorting order.I will get the fromdate and Todate from the browser, I need to display the list of all the file names that are modified between the given date... (1 Reply)
Discussion started by: prathima
1 Replies

4. UNIX for Advanced & Expert Users

How can i copy files by date last modifed range?

When I do a ls -lt I get a list of files by date modified from newest to oldest. I would like to be able to copy some files to another directory using a date last modified range (i.e. Apr 30 - May 13) How could I do this? Thanks, Joe (4 Replies)
Discussion started by: geauxsaints
4 Replies

5. Shell Programming and Scripting

Search files between a date range

Hi people A newbie here, thrown into the deep end. I want to select the group of files with in a range of dates and perform some operation on it. Are there inbuild date libraries i can use? I did read thru the old posts on this topic. Couldnt get much idea :(, basically want to know how I... (7 Replies)
Discussion started by: zcanji
7 Replies

6. UNIX for Dummies Questions & Answers

Coping Files for a specific date range

Hi, we have file name appended by date in yymmdd format .. ex: abc090101.dat I need to copy all the files between abc090101 to abc090331.. could you plz help me.. Thanks. (1 Reply)
Discussion started by: kolariya4u
1 Replies

7. UNIX for Dummies Questions & Answers

Help with removing files with date range

Hi, I want to remove trace files in a particular directory for a specific date range. Currently i can remove based on time (e.g find /path/*.trm -mtime +1000 -exec rm {} \;). But i want to remove .trm files within a date range. E.g to remove .trm files between jan 1 2002 to April 15 2005. ... (3 Replies)
Discussion started by: dollypee
3 Replies

8. UNIX for Dummies Questions & Answers

Deleted files between date range

Dear Friends, I have HP_ux 11.31 and want to delete some unwanted very old log files between two date range. Please help in the matter. Regards, Bhagawati Pandey (6 Replies)
Discussion started by: BPANDEY
6 Replies

9. Red Hat

Find Files within date Range

Hi i am looking to expand a command i am using to find files in a large file system. i am currently using find /raid/JOBFLOW_LOCKED/ -type f -size +3G | -exec mv {} /raid/JOBFLOW_LOCKED/KILL \; This works really well but i would like to add a date range to the same command to refine it... (6 Replies)
Discussion started by: treds
6 Replies

10. UNIX for Dummies Questions & Answers

Find the count of files by last created date based on the given date range

My unix version is IBM AIX Version 6.1 I tried google my requirement and found the below answer, find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20" But newer command is not working in AIX version 6.1 unix I have given my requirement below: Input: atr files: ... (1 Reply)
Discussion started by: yuvaa27
1 Replies
pomigrate2(1)						      Translate Toolkit 1.3.0						     pomigrate2(1)

NAME
pomigrate2 - Migrates PO files from an old version using new POT files. SYNOPSIS
pomigrate [options] from to new-templates Where from is a directory of existing PO files, to is the directory where the migrated PO files will be stored, and new-templates is the directory that contains the PO Template files. DESCRIPTION
pomigrate2 aims to move an existing translation to a new version based on updated PO Template files automatically without user interven- tion. Therefore it is ideal for when you are migrating many languages or migrating from related but divergent products eg Mozilla to Fire- fox. OPTIONS
-F, --use-fuzzy-matching use fuzzy algorithms when merging to attempt to match strings -C, --use-compendium create and use a compendium built from the migrating files -C, --use-compendium=some-compendium.po use an external compendium during the migration --no-wrap do not wrap long lines --locale set locale for newly born files -q, --quiet suppress most output -p, --pot2po use pot2po(1) instead of msgmerge(1) to migrate (you cannot use compendia) OPERATION
pomigrate2 makes use of the Gettext tools msgmerge or Translate Toolkits pot2po to perform its merging tasks. It firstly finds all files with the same name and location in the from directory as in the new-template directory and copies these to the to directory. If there is no file in the from directory to match one needed by the new-template directory then it will msgcat(1) all files in the from directory with the same name and copy them to the correct destination in the to directory. If all of that fails then msginit(1) is used to initialise any missing PO files. Lastly all the files in <to> are merged using msgmerge(1) or pot2po(1). This process updates the files to match the layout and messages in new-templates. Optionally, by using --use-compendium, a compendium of all the translations in from can be created to be used in the final merge process. BUGS
None known Translate Toolkit 1.3.0 pomigrate2(1)
All times are GMT -4. The time now is 03:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy