Sponsored Content
Top Forums Shell Programming and Scripting rename files Ax based on strings found in files Bx Post 302359882 by فارس الأحزان on Wednesday 7th of October 2009 03:45:34 PM
Old 10-07-2009
Aha
Ok sir large
I am a Palestinian
I love forums and the U.S.
Ahan recorded heck with you
You want a kick me out Thank you
PDC kept Thank you too
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rename files/directories based on their name

i have hundreds of directories that have to be renamed. the directory structure is fairly uniform which makes the scripting a little simpler. suppose i have many directories like this */*/*/*abc* (in other words i have similar directory names 3 dirs deep that all contain the pattern abc in... (8 Replies)
Discussion started by: quantumechanix
8 Replies

2. Shell Programming and Scripting

How to strip ^M at end of each files for all files found in current directory

I am trying to use a loop to strip of the funny character ^M at the end of all lines in each file found in current directory and I have used the following in a script: find . -type f -name '*.txt' | while read file do echo "stripping ^M from ..." ex - "$file" > $tempfile %s/^M//g wq! # mv... (4 Replies)
Discussion started by: bisip99
4 Replies

3. UNIX for Dummies Questions & Answers

rename files based on their respective directory name

I have a number of files in directories labeled like this: /Data/tr_gray/tr_DTI/dti_FA.nii.gz (the brackets here represent a range of number that the files are labeled with) I need to rename each dti_FA.nii.gz file according to the name of the folder it resides in. For example, the file ... (3 Replies)
Discussion started by: tk0034
3 Replies

4. Shell Programming and Scripting

Finding/replacing strings in some files based on a file

Hi, We have a file (e.g. a .csv file, but could be any other format), with 2 columns: the old value and the new value. We need to modify all the files within the current directory (including subdirectories), so find and replace the contents found in the first column within the file, with the... (9 Replies)
Discussion started by: Talkabout
9 Replies

5. Shell Programming and Scripting

Script to unzip files and Rename the Output-files

Hi all, I have a many folders with zipped files in them. The zipped files are txt files from different folders. The txt files have the same names. If i try to find . -type f -name "*.zip" -exec cp -R {} /myhome/ZIP \; it fails since the ZIP files from different folders have the same names and... (2 Replies)
Discussion started by: pmkenya
2 Replies

6. UNIX for Dummies Questions & Answers

Rename files based on a list

Hi, I have a directory with a lot of files like this: a.bam b.bam c.bam I like to rename these files based on a list where the name of the files in the first column will be replasced by the names in the second column. Here is my list which is a tab-delimited text file: a x b y c ... (4 Replies)
Discussion started by: a_bahreini
4 Replies

7. Shell Programming and Scripting

Rename files based on name in text file

Hello, I have a text file "file.list" with the contents below. file1 filename1 file2 filename2 file3 filename3 file1, file2 and file3 are files existing in the same directory as the text file file.list. I want to rename file1 to filename1, file2 to filename2, as show in the text... (1 Reply)
Discussion started by: james2009
1 Replies

8. Shell Programming and Scripting

SBATCH trinity for multiple files and rename/move the output files

Hey guys, I have wrote the following script to apply a module named "trinity" on my files. (it takes two input files and spit a trinity.fasta as output) #!/bin/bash -l #SBATCH -p node #SBATCH -A <projectID> #SBATCH -n 16 #SBATCH -t 7-00:00:00 #SBATCH --mem=128GB #SBATCH --mail-type=ALL... (1 Reply)
Discussion started by: @man
1 Replies

9. UNIX for Beginners Questions & Answers

Rename files based on simple text file

Hello! New here although not completely new to Unix. I wonder how I could rename files based on the data found in a simple textfile. It goes like this: I have 4 files 1 ldfgkkfjslkdfjsldkfjsf.wav 2 nndsdflksdjf.wav 3 sdflksjdf jjsdflsdfl.wav 4 dkadsdddd.wav Textfile.txt looks like... (14 Replies)
Discussion started by: Oortone
14 Replies

10. UNIX for Beginners Questions & Answers

How to pass strings from a list of strings from another file and create multiple files?

Hello Everyone , Iam a newbie to shell programming and iam reaching out if anyone can help in this :- I have two files 1) Insert.txt 2) partition_list.txt insert.txt looks like this :- insert into emp1 partition (partition_name) (a1, b2, c4, s6, d8) select a1, b2, c4, (2 Replies)
Discussion started by: nubie2linux
2 Replies
DateTime::Locale::gaa(3)				User Contributed Perl Documentation				  DateTime::Locale::gaa(3)

NAME
DateTime::Locale::gaa SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'gaa' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Ga. DATA
This locale inherits from the DateTime::Locale::root locale. It contains the following data. Days Wide (format) Dzu Dzufo Sho Soo Sohaa Ho Hogbaa Abbreviated (format) Dzu Dzf Sho Soo Soh Ho Hog Narrow (format) 2 3 4 5 6 7 1 Wide (stand-alone) Dzu Dzufo Sho Soo Sohaa Ho Hogbaa Abbreviated (stand-alone) Dzu Dzf Sho Soo Soh Ho Hog Narrow (stand-alone) 2 3 4 5 6 7 1 Months Wide (format) Aharabata Oflo Ochokrikri Abeibee Agbeinaa Otukwadan Maawe Manyawale Gbo Anton Alemle Afuabee Abbreviated (format) Aha Ofl Och Abe Agb Otu Maa Man Gbo Ant Ale Afu Narrow (format) 1 2 3 4 5 6 7 8 9 10 11 12 Wide (stand-alone) Aharabata Oflo Ochokrikri Abeibee Agbeinaa Otukwadan Maawe Manyawale Gbo Anton Alemle Afuabee Abbreviated (stand-alone) Aha Ofl Och Abe Agb Otu Maa Man Gbo Ant Ale Afu Narrow (stand-alone) 1 2 3 4 5 6 7 8 9 10 11 12 Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 Q2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 Q2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide Dani Jesu KJ Abbreviated DJ KJ Narrow DJ KJ Date Formats Full 2008-02-05T18:30:30 = Dzufo, 2008 Oflo 05 1995-12-22T09:05:02 = Sohaa, 1995 Afuabee 22 -0010-09-15T04:44:23 = Ho, -10 Gbo 15 Long 2008-02-05T18:30:30 = 2008 Oflo 5 1995-12-22T09:05:02 = 1995 Afuabee 22 -0010-09-15T04:44:23 = -10 Gbo 15 Medium 2008-02-05T18:30:30 = 2008 Ofl 5 1995-12-22T09:05:02 = 1995 Afu 22 -0010-09-15T04:44:23 = -10 Gbo 15 Short 2008-02-05T18:30:30 = 08/02/05 1995-12-22T09:05:02 = 95/12/22 -0010-09-15T04:44:23 = -10/09/15 Default 2008-02-05T18:30:30 = 2008 Ofl 5 1995-12-22T09:05:02 = 1995 Afu 22 -0010-09-15T04:44:23 = -10 Gbo 15 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Long 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Datetime Formats Full 2008-02-05T18:30:30 = Dzufo, 2008 Oflo 05 18:30:30 UTC 1995-12-22T09:05:02 = Sohaa, 1995 Afuabee 22 09:05:02 UTC -0010-09-15T04:44:23 = Ho, -10 Gbo 15 04:44:23 UTC Long 2008-02-05T18:30:30 = 2008 Oflo 5 18:30:30 UTC 1995-12-22T09:05:02 = 1995 Afuabee 22 09:05:02 UTC -0010-09-15T04:44:23 = -10 Gbo 15 04:44:23 UTC Medium 2008-02-05T18:30:30 = 2008 Ofl 5 18:30:30 1995-12-22T09:05:02 = 1995 Afu 22 09:05:02 -0010-09-15T04:44:23 = -10 Gbo 15 04:44:23 Short 2008-02-05T18:30:30 = 08/02/05 18:30 1995-12-22T09:05:02 = 95/12/22 09:05 -0010-09-15T04:44:23 = -10/09/15 04:44 Default 2008-02-05T18:30:30 = 2008 Ofl 5 18:30:30 1995-12-22T09:05:02 = 1995 Afu 22 09:05:02 -0010-09-15T04:44:23 = -10 Gbo 15 04:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 Dzf 1995-12-22T09:05:02 = 22 Soh -0010-09-15T04:44:23 = 15 Ho Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 SN 1995-12-22T09:05:02 = 9:05 LB -0010-09-15T04:44:23 = 4:44 LB Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 SN 1995-12-22T09:05:02 = 9:05:02 LB -0010-09-15T04:44:23 = 4:44:23 LB M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, M-d) 2008-02-05T18:30:30 = Dzf, 2-5 1995-12-22T09:05:02 = Soh, 12-22 -0010-09-15T04:44:23 = Ho, 9-15 MMM (LLL) 2008-02-05T18:30:30 = Ofl 1995-12-22T09:05:02 = Afu -0010-09-15T04:44:23 = Gbo MMMd (MMM d) 2008-02-05T18:30:30 = Ofl 5 1995-12-22T09:05:02 = Afu 22 -0010-09-15T04:44:23 = Gbo 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = Dzf Ofl 5 1995-12-22T09:05:02 = Soh Afu 22 -0010-09-15T04:44:23 = Ho Gbo 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = Oflo 5 1995-12-22T09:05:02 = Afuabee 22 -0010-09-15T04:44:23 = Gbo 15 MMMMEd (E MMMM d) 2008-02-05T18:30:30 = Dzf Oflo 5 1995-12-22T09:05:02 = Soh Afuabee 22 -0010-09-15T04:44:23 = Ho Gbo 15 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, y-M-d) 2008-02-05T18:30:30 = Dzf, 2008-2-5 1995-12-22T09:05:02 = Soh, 1995-12-22 -0010-09-15T04:44:23 = Ho, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 Ofl 1995-12-22T09:05:02 = 1995 Afu -0010-09-15T04:44:23 = -10 Gbo yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = Dzf, 2008 Ofl 5 1995-12-22T09:05:02 = Soh, 1995 Afu 22 -0010-09-15T04:44:23 = Ho, -10 Gbo 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 Oflo 1995-12-22T09:05:02 = 1995 Afuabee -0010-09-15T04:44:23 = -10 Gbo yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 Q1 1995-12-22T09:05:02 = 1995 Q4 -0010-09-15T04:44:23 = -10 Q3 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week Dzu SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.18.2 2017-10-06 DateTime::Locale::gaa(3)
All times are GMT -4. The time now is 03:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy