06-08-2010
I am not expert in scripting. Could you pl. send me some code to do that?
Thanks
Dip
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Can any one tell the command to list all the files that are created as of today from all the directories?
The Command "ls -ltR" is listing all the files.
But I want the list of files that has been created as of today along with the directory path:)
Thank you in advance.:)
Regards,... (4 Replies)
Discussion started by: meetusha.b
4 Replies
2. Shell Programming and Scripting
I'm new to scripting. I'm trying to write a script to download files from ftp site, the following is the script and the message i get after running the script. no files were downloaded :(
Thanks advance!
script:
#!/usr/bin/ksh
DAY=`date --date="-1 days" +%y%m%d`
ftp -v -n "ftp.address" <<... (5 Replies)
Discussion started by: tiff-matt
5 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
Hi All,
I have a scenario where I need to download the previous day modified files from other server to my server through FTP . Could any one please send me the shell script for the same.
I used the following but I dont know how to proceed after this.
ftp -n -i -v $IP <<ENDOFinPUT >>... (3 Replies)
Discussion started by: sarathchandrach
3 Replies
5. Shell Programming and Scripting
I need to figure out how to get all the files from a certian dir ./123/*sat files
and ./230/*sat files and several other directories which have these *sat files in them. I need to calculate how many were created today and how many yesterday from 2:00 pm on the 28th to 2pm on the 29th.
It's a... (1 Reply)
Discussion started by: xgringo
1 Replies
6. Shell Programming and Scripting
Dear All,
I want a Hp Ux command to find out the files created today in a particular directory or mountpoint.
Kindly help.
Thanks
Bhaskar (10 Replies)
Discussion started by: sudiptabhaskar
10 Replies
7. Linux
Hi, ALL
thanks in advance,
i listed all files using this command
ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ;
Best regard
MEROUAN
Use code tags, thanks. (4 Replies)
Discussion started by: merouan
4 Replies
8. Shell Programming and Scripting
Our main Server "Srv1" is used to generate text files based on specified criteria and it is also connected to two clients (pc1 and pc2) which are responsible for getting the files from Srv1 as it follows:
1. pc1 ( which represents my UNIX machine ) uses shell script to copy the files from Srv1
2.... (3 Replies)
Discussion started by: arm
3 Replies
9. Shell Programming and Scripting
Hello all,
I have been struggling with this issue on and off for a couple of weeks now and I just got it all working, so I wanted to share my findings in case some other poor soul needs to know how. First some background on what I'm doing. I am uploading files to different directories based on... (0 Replies)
Discussion started by: msjkadams
0 Replies
10. Shell Programming and Scripting
Is it possible in an ftp script to get remote files based on whether they have been created in the last 30 minutes? (5 Replies)
Discussion started by: gefa
5 Replies
LEARN ABOUT DEBIAN
gpodder-backup
GPODDER-BACKUP(1) User Commands GPODDER-BACKUP(1)
NAME
gpodder-backup - Backup and restore utility for gPodder user data
SYNOPSIS
gpodder-backup [--create|--extract] <archive.gpo.tar.gz> [options] gpodder-backup --purge
DESCRIPTION
This utility can be used to create a dump of the current gPodder data (configuration files + downloads), optionally replacing the real con-
tents of the download folder with zero-byte files (for submitting your data to a bug report without having to transfer lots of data).
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-c <FILE>, --create=<FILE>
Create a new archive
-x <FILE>, --extract=<FILE>
Extract an existing archive
-f, --fake-downloads
Store downloads as zero-byte files in backup
-n, --no-covers
Do not include cover files in archive
-D <DIR>, --destination=<DIR>
Extract downloads in different folder
-P, --purge
Remove current data (can be combined with --extract)
USAGE FOR BUG REPORTING
This command is useful if you want to report a bug in gPodder:
gpodder-backup --create bug123.gpo.tar.gz --fake-downloads
Backup your current data to file bug123.gpo.tar.gz, but don't store download data (create zero-size dummy files instead). You can
then attach bug123.gpo.tar.gz to the bug report.
If you are instructed to try gPodder from a "clean state", you can use the following command (be sure to backup your data before!):
gpodder-backup --purge
Remove all gPodder data, so you can start from a clean state
EXAMPLES
gpodder-backup --create today.gpo.tar.gz
Backup your current data to file today.gpo.tar.gz
gpodder-backup --extract mybackup.gpo.tar.gz
Restore (without purging) the contents of mybackup.gpo.tar.gz
gpodder-backup --extract default.gpo.tar.gz --purge
Remove current data, then restore the contents of default.gpo.tar.gz
gpodder-backup --purge
Remove all gPodder data, so you can start from a clean state
EXTRACTING FAKED DOWNLOADS
Please note that any existing downloads will be overwritten with zero-byte files when using the --extract option of the gpodder-backup
utility with a backup created with --fake-downloads
AUTHOR
gpodder-backup was written by Thomas Perl (thp@gpodder.org)
gpodder-backup 1.0 December 2010 GPODDER-BACKUP(1)