07-05-2012
Moving files to different date files
I have files as below
Quote:
AAA.20120630.txt
BBB.2120630.txt
CCC.20120630.txt
I need to have all the files renamed as below
Quote:
AAA.20120705.txt
BBB.2120705.txt
CCC.20120705.txt
There are 100 of files like this. How can I do this?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. UNIX for Dummies Questions & Answers
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... (3 Replies)
Discussion started by: rooh
3 Replies
3. Shell Programming and Scripting
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
Hi,
I have a very urgent requirement here. I have to find all files in the specified directory but not in the sub directories(The directory name is stored in a variable) which are older than the current date as well as current time and rename it as filename_yyyymmddhhmmss.ext and move it into a... (7 Replies)
Discussion started by: ragavhere
7 Replies
5. Shell Programming and Scripting
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
6. UNIX for Dummies Questions & Answers
I am running a code like this
foreach list ($tmp)
mv *_${list}.txt ${chart}_${list}.txt #mv: when moving multiple files, last argument must be a directory
mv *_${list}.doc ${chart}_${list}.doc #mv: when moving multiple files, last argument must be a... (3 Replies)
Discussion started by: animesharma
3 Replies
7. Shell Programming and Scripting
Hi guys can you please help me with a script to find files with one row/1 line of content then move the file to another directory my script below runs but nothing happens to the files....Alternatively Ca I get a script to find the *.csv files with "wc -1" results = 1 then create a list of those... (5 Replies)
Discussion started by: Dj Moi
5 Replies
8. Shell Programming and Scripting
Hi All,
I am currently coding for a requirement(LINUX OS) where I am supposed to move a file (Lets Call it Employee.txt) from Directory A to Directory B based on 2 date fields as below,
Date_Current = 20120620
Date_Previous = 20120610
Source Directory : /iis_data/source
Target... (11 Replies)
Discussion started by: dsfreddie
11 Replies
9. UNIX for Dummies Questions & Answers
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
10. Shell Programming and Scripting
Hi All,
I need to find all files other than first two files dates & last file date for month and month/year wise list.
lets say there are following files in directory
Mar 19 2012 c.txt
Mar 19 2012 cc.txt
Mar 21 2012 d.txt
Mar 22 2012 f.txt
Mar 24 2012 h.txt
Mar 25 2012 w.txt
Feb 12... (2 Replies)
Discussion started by: Makarand Dodmis
2 Replies
FLARE(6) flare User Manual FLARE(6)
NAME
flare - diablo like rpg game
DESCRIPTION
This manual page documents briefly the game flare and the files it uses.
flare is a diablo like rpg game.
FILES
settings.txt
flare does not have a settings dialogue yet. You can manipulate flare's settings in the settings.txt instead. It is located in one of
the following paths: $XDG_CONFIG_HOME/flare $HOME/.config/flare ./config
keybindings.txt
You can manipulate flare's default key bindings in this file. It is located in one of the following paths: $XDG_CONFIG_HOME/flare
$HOME/.config/flare ./config
save[0-9]{?}.txt
Savegames are simple txt files in flare. You can find them at one of these places: $XDG_DATA_HOME/flare $HOME/.local/share/flare
./saves If permissions are correct, the game is automatically saved when you exit.
ENVIONMENT
XDG_CONFIG_HOME, $XDG_DATA_HOME
flare follows the XDG stanard, see FILES section above.
BUGS
If you should find a bug in flare, please report it at the official BTS at: https://github.com/clintbellanger/flare/issues.
AUTHOR
Jan-Hendrik Peters <hennr@hennr.name>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2011 Jan-Hendrik Peters
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
flare 12/26/2011 FLARE(6)