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)
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)
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)
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)
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)
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)
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)
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)
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
diffindex-download
DIFFINDEX-DOWNLOAD(1)DIFFINDEX-DOWNLOAD(1)NAME
diffindex-download - Download utility for Debian Contents files
SYNOPSIS
diffindex-download [ options ] URL filename
DESCRIPTION
diffindex-download is a command line tool for downloading Contents files. It uses APT's diff/Index format patches when available to avoid
downloading the full file. diffindex-download is used by apt-file.
OPTIONS -n number
If more than number patches would be necessary, download the whole file. Specifying 0 to always download the whole file is possible.
-k Don't verify the peer certificate when using https.
-c cacert
If cacert is a directory: Use cacert as CA certificate path. Otherwise use cacert as CA certificate bundle. See the --capath and
--cacert options in the curl(1) man page.
-i Don't exit with errror if the URL does not exist. This is useful as some archives don't provide Contents files.
-q Be quiet (opposite of -v). The default if stdout is not a terminal.
-v Be verbose (opposite of -q). The default if stdout is a terminal.
-d Print additional debug info.
-h Display a short help screen.
SEE ALSO apt-file(1), diffindex-rred(1), curl(1)AUTHOR
diffindex-download was written by Stefan Fritsch <sf@debian.org>.
January 2009 DIFFINDEX-DOWNLOAD(1)