09-27-2007
Get Files from ftp which are uploaded recent week
Hi All,
Here is a brief scenario for my requirement ..
There is a directory in FTP Server, where would files be uploaded on weekly basic.
I need to get those files which are uploaded during this week and not the files which are uploaded the previous week and download them to locale directory
Can anyone of you guide me how to go with this case..
If you have any script to do this, please post here...
am totally new to shell script commands and special variables like $, $1 etc..
Thanks in Advance
Regards,
Madan N
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I'm running on a Sun Solaris machine. I would only want to keep the last 2 most recent files on 1 of my directory.
Below shows my script, but it is incomplete. For the ?? part I do not know how to continue. please help:confused:
DIR=/tmp/abc
OUTPUT=/tmp/output.out... (1 Reply)
Discussion started by: *Jess*
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
We are running FTP Server on UNIX (Solaris 9). Users login and upload (also download) files whenever required. Now, we have to automate the process which makes a copy of every file immediately after it gets uploaded to the FTP server (by any user).
I've ruled out rsync,mirror,filesync... (2 Replies)
Discussion started by: prvnrk
2 Replies
3. AIX
I am trying to write a script to ftp all files/directories changed in a 24hour period to another AIX server. I have wrote a script to generate a list of all files changed within a 24 hour period but dont know how to then ftp these to another server. How do incorporate ftp into this script?
... (2 Replies)
Discussion started by: RApds
2 Replies
4. UNIX and Linux Applications
Hi,
Is it possible to make sure/test that all uploaded files to my FTP will be of .RAR format (that's easy) but also password protected?
Thanks (0 Replies)
Discussion started by: saariko
0 Replies
5. Shell Programming and Scripting
in /abc/jrd/
users are continuously uploading files memo*.txt
i have created a memo.sh file in that i have written
cd /abc/jrd/
mv memo*.txt /scripts/memo
while files are being moved to this /scripts/memo users who are uploading new file are not getting fully copied i this path i want that... (0 Replies)
Discussion started by: rakesh_mumbai
0 Replies
6. UNIX for Advanced & Expert Users
in /abc/jrd/
users are continuously uploading files memo*.txt
i have created a memo.sh file in that i have written
cd /abc/jrd/
mv memo*.txt /scripts/memo
while files are being moved to this /scripts/memo users who are uploading new file are not getting fully copied i this path i want that... (1 Reply)
Discussion started by: rakesh_mumbai
1 Replies
7. UNIX for Advanced & Expert Users
i want to move files from A dir to B dir, say eg: mv *memo*.txt /scripts/memo/
but while doing this new files are being uploaded by users, i dont want files which are being uploaded 5 to 10 min ago. other wise even files which are being currently uploaded will get moved to /scripts/memo. (8 Replies)
Discussion started by: rakesh_mumbai
8 Replies
8. UNIX for Dummies Questions & Answers
I am using VSFTPD on amazon web services and have a remote service that uploads files to server via FTP. The files comes through fine and when I log in via FTP client I see them. The problem is the files are supposed to be moved once uploaded but the files are not visible via command line thus the... (2 Replies)
Discussion started by: theman0684
2 Replies
9. Shell Programming and Scripting
Hello Experts...
dir of FTP will list all the files in the directory. Is there any command or option of dir that will give me the most recent file only?
Since I couldn't find any such thing, I thought of creating a log file (of FTP results) and work on this log file to determine the most recent... (2 Replies)
Discussion started by: juzz4fun
2 Replies
10. Linux
I have a weird requirement where I have to get the files from a FTP(Lets say FTP1) location and place it on my current FTP(Lets say FTP2) location. The issue is, these are daily files (in a pattern Sales_YYYYMMDD_report.csv) and are placed every day on FTP1 and my process usually runs on Monday(eg.... (2 Replies)
Discussion started by: dhruuv369
2 Replies
LEARN ABOUT CENTOS
abrt.conf
ABRT.CONF(5) ABRT Manual ABRT.CONF(5)
NAME
abrt.conf - Configuration file for abrt.
DESCRIPTION
abrt is a daemon that watches for application crashes. When a crash occurs, it collects the problem data and takes action according to its
configuration. This document describes abrt's configuration file.
The configuration file consists of items in the format "Option = Value". A description of each item follows:
DumpLocation = directory
The directory where should abrt store coredumps and all files which are needed for reporting. The default is /var/tmp/abrt.
MaxCrashReportsSize = number
The maximum disk space (specified in megabytes) that abrt will use for all the crash dumps. Specify a value here to ensure that the
crash dumps will not fill all available storage space. The default is 1000.
WatchCrashdumpArchiveDir = directory
The daemon will watch this directory and call abrt-handle-upload on files which appear there. This is used to auto-unpack crashdump
tarballs uploaded via ftp, scp, etc. The directory must exist and be writable for abrt. There is no default.
DeleteUploaded = yes/no
The daemon will delete an uploaded crashdump archive after an atempt to unpack it. An archive will be delete whether unpacking finishes
successfully or not. The default value is no.
SEE ALSO
abrtd(8) abrt-action-save-package-data.conf(5) abrt-handle-upload(1)
AUTHORS
o ABRT team
abrt 2.1.11 06/18/2014 ABRT.CONF(5)