06-13-2005
Archiving Files by selecting years created.
Thank you for your quick response. I have another question on this issue though.
I am already down to the actual directory I need to archive and I checked into the find command and I can find the files for a specific year, but how do I move them all at one time into the appropriate year directory? My FIND help in my book "UNIX - The Complete Reference" does not say how to do this.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all i have a requirement where in i have to zip all the files with "*.bkp" after 14 days and move the zip files to Archive directory ....
i am able to achieve the first functionality but not able to achive the second one ...here is my code
find ${LOG_DIR} -name "*.bkp" -mtime +14 | xargs -i... (1 Reply)
Discussion started by: nvuradi
1 Replies
2. Shell Programming and Scripting
Hi,
Suppose I have 2 files of yesterday's. And today I have received 3 files.
Before processing anything I want to archieve the 2 files of yesterday's into a different folder.
How can this be done?
Regards,
Sunitha (1 Reply)
Discussion started by: Sunitha_edi82
1 Replies
3. Shell Programming and Scripting
hi,
I am building a script to identify those files created/modified today and with file size 0. I am able to find the files with 0 file size and created/modified in last 24 hrs as shown below but not today (current date), I tried using (touch -t time filenm) but in my version of unix at work it... (7 Replies)
Discussion started by: rushs682
7 Replies
4. Shell Programming and Scripting
My requirement is to put all the files from output directory(ATT) to archive directory(archive\) creating a new
folder with datetimestamp(20100212_120014) every time it runs.
where ${IMF_TARGET_DIR} is my base directory.
${IMF_ARCHIVE_DIR} is my Archive directory... (1 Reply)
Discussion started by: vsmeruga
1 Replies
5. UNIX for Dummies Questions & Answers
Hello - I have a folder that contains files from 2003 till 2010. I am trying to figure out a command that would seperate each years file and show me a count?
Even if i can find a command that would give me year by year count, thats good enough too.
Thanks (8 Replies)
Discussion started by: DallasT
8 Replies
6. Shell Programming and Scripting
Hi,
In our current process we are reading the file, (which is placed by external vendor)from one particular folder and processing those files
through ETL(informatica). We are reading these file as " ls -ltr *.txt"
Once the process is finish these files are moved to archived script by "mv"... (1 Reply)
Discussion started by: Amey Joshi
1 Replies
7. UNIX for Dummies Questions & Answers
HI ,
I have a file abc.txt, which has some .csv files listed.
example.
abc.txt
1.csv
2.csv
3.csv
4.csv
5.csv
I want to move all the files listed in abc.txt to a archive directory,and zip the moved files.
Can anyone help me with the script.
Thanks,sai (1 Reply)
Discussion started by: saii
1 Replies
8. Shell Programming and Scripting
Hello Group,
I would request your help to build a shell script in order to find files older than 90 days then create the same directory structure under the second disk (/archive directory) and move the file preserving the same timestamps (ownership, etc).
Also keep the log of files moved... (4 Replies)
Discussion started by: csierra
4 Replies
9. Shell Programming and Scripting
hi,
Am trying to acrhive a bunch of files on some ftp site and somehow managed to come out with the below logic.
I'm getting "syntax error: unexpected end of file" error. Interestingly this below snipeet works fine if run for the first time but the subsequent runs fail!
Anybody has any idea... (3 Replies)
Discussion started by: Amee5
3 Replies
10. Shell Programming and Scripting
Hi,
I want to display the file names and the record count for the files in the 2nd column for the files created today.
i have written the below command which is listing the file names. but while piping the above command to the wc -l command
its not working for me.
ls -l... (5 Replies)
Discussion started by: Showdown
5 Replies
LEARN ABOUT DEBIAN
xmms2-find-avahi
XMMS2-FIND-AVAHI(1) General Commands Manual XMMS2-FIND-AVAHI(1)
NAME
xmms2-find-avahi - finding running XMMS2 instances via Avahi
SYNOPSIS
xmms2-find-avahi
DESCRIPTION
This manual page documents briefly the xmms2-find-avahi command. This manual page was written for the Debian distribution because the orig-
inal program does not have a manual page.
XMMS2 is a redesign of the XMMS (http://www.xmms.org) music player. It features a client-server model, allowing multiple (even simultane-
ous!) user interfaces, both textual and graphical. All common audio formats are supported using plugins. On top of this, there is a flexi-
ble media library to organize your music.
xmms2-find-avahi lists all XMMS2 instances that are running on the network and can be accessed via Avahi. XMMS2 can be announced by
xmms2-mdns-avahi.
OPTIONS
This program does not offer any options.
SEE ALSO
xmms2(1), xmms2-mdns-avahi(1), http://xmms2.xmms.org.
AUTHORS
xmms2-find-avahi was written by the XMMS2 Team.
This manual page was written by Benjamin Drung <bdrung@ubuntu.com>, for the Debian project (and may be used by others).
2009-07-05 XMMS2-FIND-AVAHI(1)