Sponsored Content
Top Forums Shell Programming and Scripting Creating date directory and moving files into that directory Post 302264836 by praveen kumar05 on Friday 5th of December 2008 02:27:12 AM
Old 12-05-2008
Why Colons in between %d, %b,%y. It gives output like "05:\Dec:08", If you remove the colons and put the command like this
date_dir=`date+%d%b%y` This will give output like 05Dec08
praveen kumar05
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

moving files from a unix directory to a windows directory

Any body any ideas i'm failry new to this so any help would be appreciated. Cheers Steve (2 Replies)
Discussion started by: gleads
2 Replies

2. Shell Programming and Scripting

Moving all files from 1 directory to another

For example i have a directory called name and another called school how to remove first 5 files from name into school? thanks for helping (1 Reply)
Discussion started by: cryogen
1 Replies

3. Shell Programming and Scripting

Moving Files from one directory to another directory

Please do help me out with this. I have to write the following script. There is a directory named "storage_directory" and it has hundreds of files in it. My script has to move each file from the storage_directory to "temp_directory" After moving each file, it has to create a log of the File... (4 Replies)
Discussion started by: ss3944
4 Replies

4. Shell Programming and Scripting

Grepping file names, comparing them to a directory of files, and moving them into a new directory

got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies

5. Shell Programming and Scripting

Moving files from one directory to another based on 2 date variables

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

6. UNIX for Dummies Questions & Answers

Moving all files in a directory to another directory and archiving them

Hi All, i need to move all files in a directory to some other directory and need to archive them,,, Ex.. Source_Path/my_directory/ files in it are... acw.csv 123.txt bge.dat etc ..and we dont know how many files does my_directory contains and all are with different extensions ..so i need... (6 Replies)
Discussion started by: dssyadav
6 Replies

7. UNIX for Dummies Questions & Answers

Help with moving files from one directory to another directory.

Hi all, Please help me creating a job that runs on every monday. And the job must have a script to move the files from directory1 to directory2 based on date. eg: directory1 = usr/appl/src/archive; directory2 = usr/appl/failed filename : PHDG_90021.txt when the job runs,it must move... (1 Reply)
Discussion started by: Vasanth_bala1
1 Replies

8. UNIX for Dummies Questions & Answers

Creating a directory based on date

I want to create a directory based on date. I do not have date -d command. What I do have is: either use "date" command to get current date or DATE1=$(perl -e 'print scalar(localtime(time - 1 )), "\n";' |awk '{print $2,$3,$5}') |awk '{print $3}'can be modified to produce the desired year.... (3 Replies)
Discussion started by: newbie2010
3 Replies

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

10. Shell Programming and Scripting

Moving Files one directory to another directory shell script

Hi, Could you please assist how to move the gz files which are older than the 90 days from one folder to another folder ,before that it need to check the file system named "nfs" if size is less than 90 or not. If size is above 90 then it shouldn't perform file move and exit the script throwing... (4 Replies)
Discussion started by: venkat918
4 Replies
ODMGR(1)						      Quick Database Manager							  ODMGR(1)

NAME
odmgr - administration utility for QDBM Odeum SYNOPSIS
odmgr create name odmgr put [-uri str] [-title str] [-author str] [-date str] [-wmax num] [-keep] name [file] odmgr out [-id] name expr odmgr get [-id] [-t|-h] name expr odmgr search [-max num] [-or] [-idf] [-t|-h|-n] name words... odmgr list [-t|-h] name odmgr optimize name odmgr inform name odmgr merge name elems... odmgr remove name odmgr break [-h|-k|-s] [file] odmgr version DESCRIPTION
This manual page documents briefly the odmgr commands. odmgr is a utility for debugging Odeum and its applications. It features editing and checking of a database. It can be used for full-text search systems with shell scripts. This command is used in the above format. name specifies a database name. file specifies a file name, expr specifies the URI or the ID number of a document, words specifies searching words. elems specifies element databases. OPTIONS
A summary of options is included below. For a complete description, see the file:///usr/share/doc/qdbm-doc/spex.html#odeumcli . -uri specify the URI of the document explicitly. -title str specify the title of the document. -author str specify the author of the document. -date str specify the modified date of the document. -wmax num specify the max number of words to be stored. -keep the storing mode is not to be overwrite. -id specify a document not by a URI but by an ID number. -t output the details of a document in tab separated format. -h output the details of a document in human-readable format. -k output keywords of a document. -s output summary of a document. -max num specify the max number of documents of the output. -or perform OR search, nut AND search. -idf tune scores with IDF. -n show ID numbers and scores only. SEE ALSO
qdbm(3), odidx(1), odeum(3). odopen(3). AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>. This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project (but may be used by others). Man Page 2005-05-23 ODMGR(1)
All times are GMT -4. The time now is 12:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy