Sponsored Content
Top Forums Shell Programming and Scripting Moving files from one directory to another based on 2 date variables Post 302659405 by Corona688 on Thursday 21st of June 2012 12:00:56 AM
Old 06-21-2012
You did it again:
Code:
for EMPLOYEE in `/iis_data/source/*.txt`

That is in backticks and should not be.

In the code I actually posted, it was in no brackets, quotes, or ticks whatsoever. It is not supposed to be in any whatsoever. It will not work if you put it in any whatsoever.

Try the code I gave you without editing things that look funny. It is working code.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Moving files based on creation date

Howdy, I'm trying to figure out how to move multiple files based on their creation date. If anyone can enlighten me it would be most appreciated!! Thanks! :D (1 Reply)
Discussion started by: dgoyea
1 Replies

2. Shell Programming and Scripting

Moving file to directory based on condition.

Can any one help me to correct following script. I have 2 directories DropZone and ProcessZone. File pattern is *VEHDESCSUM*. Finding the 'no of files' in DropZone directory using ls *VEHDESCSUM* |wc -l If DropZone has more than one file or 0 files then exit 1 If DropZone has one file then... (2 Replies)
Discussion started by: ramanagh
2 Replies

3. 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

4. Shell Programming and Scripting

Creating date directory and moving files into that directory

I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05:Dec:08... (3 Replies)
Discussion started by: ravi030
3 Replies

5. Shell Programming and Scripting

Need script to select multiple files from archive directory based on the date range

hi all, here is the description to my problem. input parameters: $date1 & $date2 based on the range i need to select the archived files from the archived directory and moved them in to working directory. can u please help me in writing the code to select the multiple files based on the... (3 Replies)
Discussion started by: bbc17484
3 Replies

6. UNIX for Dummies Questions & Answers

Moving Directories Based on Modified date

Hi, How can I move directories (and all sub directories/files) from one directory to another based on the modified date of the directory? Currently the existing structure looks like this: /public_html/media/videos/tmb/34947/image1.jpg /public_html/media/videos/tmb/34947/image2.jpg ... (0 Replies)
Discussion started by: lbargers
0 Replies

7. Shell Programming and Scripting

Move files from one directory to another based on creation/modification date

Hi All, Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates. While visiting couple of posts, i could see we can... (3 Replies)
Discussion started by: dsfreddie
3 Replies

8. UNIX for Dummies Questions & Answers

Script moving files based on date

Hi, I need a script that moves files based on date to a folder. The folder should be created based on file date. Example is : Date file name ----- -------- Oct 08 07:39 10112012_073952.xls Oct 09 07:39 10112012_073952.xls Oct 10 07:39 ... (6 Replies)
Discussion started by: rockingvj
6 Replies

9. UNIX for Dummies Questions & Answers

Unable to find files, those can be present anywhere in the directory tree,based on its creation date

Hi I am unable to find files, those are present anywhere in the same directory tree, based on the creation date. I need to find the files with their path, as I need to create them in another location and move them. I need some help with a script that may do the job. Please help (2 Replies)
Discussion started by: sam192837465
2 Replies

10. UNIX for Beginners Questions & Answers

Searching for a files based on current date directory

Hi All, I've been trying to do some recursive searching but not been very successful. Can someone please help. Scenario: I have directory structure /dir1/dir2/dir3/ 2019/ 11/ 17 18 19 20 so what I want to do is run a script and as its 2019/11/18/ today it would go and only search... (3 Replies)
Discussion started by: israr75
3 Replies
Bio::Tools::Prediction::Gene(3pm)			User Contributed Perl Documentation			 Bio::Tools::Prediction::Gene(3pm)

NAME
Bio::Tools::Prediction::Gene - a predicted gene structure feature SYNOPSIS
#See documentation of methods. DESCRIPTION
A feature representing a predicted gene structure. This class actually inherits off Bio::SeqFeature::Gene::Transcript and therefore has all that functionality, plus a few methods supporting predicted sequence features, like a predicted CDS and a predicted translation. Exons held by an instance of this class will usually be instances of Bio::Tools::Prediction::Exon, although they do not have to be. Refer to the documentation of the class that produced the instance. Normally, you will not want to create an instance of this class yourself. Instead, classes representing the results of gene structure prediction programs will do that. FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web: https://redmine.open-bio.org/projects/bioperl/ AUTHOR - Hilmar Lapp Email hlapp-at-gmx.net or hilmar.lapp-at-pharma.novartis.com APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ predicted_cds Title : predicted_cds Usage : $predicted_cds_dna = $gene->predicted_cds(); $gene->predicted_cds($predicted_cds_dna); Function: Get/Set the CDS (coding sequence) as predicted by a program. This method is independent of an attached_seq. There is no guarantee whatsoever that the returned CDS has anything to do (e.g., matches) with the sequence covered by the exons as annotated through this object. Example : Returns : A Bio::PrimarySeqI implementing object holding the DNA sequence defined as coding by a prediction of a program. Args : On set, a Bio::PrimarySeqI implementing object holding the DNA sequence defined as coding by a prediction of a program. predicted_protein Title : predicted_protein Usage : $predicted_protein_seq = $gene->predicted_protein(); $gene->predicted_protein($predicted_protein_seq); Function: Get/Set the protein translation as predicted by a program. This method is independent of an attached_seq. There is no guarantee whatsoever that the returned translation has anything to do with the sequence covered by the exons as annotated through this object, or the sequence returned by predicted_cds(), although it should usually be just the standard translation. Example : Returns : A Bio::PrimarySeqI implementing object holding the protein translation as predicted by a program. Args : On set, a Bio::PrimarySeqI implementing object holding the protein translation as predicted by a program. perl v5.14.2 2012-03-02 Bio::Tools::Prediction::Gene(3pm)
All times are GMT -4. The time now is 06:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy