guys,
I have a need for a script that will delete all files in a given directory that are over 2 hours old. I will set this up to run in cron. I'm having a little trouble coming up with the syntax that will identify these files. Is there a variation of the ls command that I can use to identify... (3 Replies)
I need a script which list the files which is starting with the word heap*** and that is created before past 24 hours.I need the script using find command. please help me on this. (1 Reply)
which out of atime, ctime, or mtime are the closest to diplaying only the files created within the last 24 hours. is it even possible to find only the files created in the last 24 hours, because I heard that unix files don't hold the creation time as a property of the file. (3 Replies)
I need to be able to do the following:
Find files in multiple directories that are 6 hours older than the current time?
I am using KSH
I tried mmtime but it was not a valid option
Any help would be great. Thank you! (2 Replies)
Hi Frens,
I want to list some files from a directory, which contains "DONE" in their name, i am receiving files every minute. In this i want to list all the files which are newer than 6 hours but older than 3 hours, of current time
i dont want my list to contain the latest files which are ... (4 Replies)
Hi,
I need to check some files in one directory whether any files has been created before 4 hours(ie, less than 4 hours from the current time).
Can anybody help me out..?
Thanks in advance..! (21 Replies)
Hi ,
I am looking for some help in getting the list of files matching some pattern in a folder and those were created in last X hours.
Please help.
Thanks in advance. (1 Reply)
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
pscp
pscp(1) PuTTY tool suite pscp(1)NAME
pscp - command-line SCP (secure copy) / SFTP client
SYNOPSIS
pscp [options] [user@]host:source target
pscp [options] source [source...] [user@]host:target
pscp [options] -ls [user@]host:filespec
DESCRIPTION
pscp is a command-line client for the SSH-based SCP (secure copy) and SFTP (secure file transfer protocol) protocols.
OPTIONS
The command-line options supported by pscp are:
-V Show version information and exit.
-pgpfp Display the fingerprints of the PuTTY PGP Master Keys and exit, to aid in verifying new files released by the PuTTY team.
-ls Remote directory listing.
-p Preserve file attributes.
-q Quiet, don't show statistics.
-r Copy directories recursively.
-unsafe
Allow server-side wildcards (DANGEROUS).
-v Show verbose messages.
-load session
Load settings from saved session.
-P port
Connect to port port.
-l user
Set remote username to user.
-batch Disable interactive prompts.
-pw password
Set remote password to password. CAUTION: this will likely make the password visible to other users of the local machine (via com-
mands such as `w').
-1 Force use of SSH protocol version 1.
-2 Force use of SSH protocol version 2.
-C Enable SSH compression.
-i path
Private key file for authentication.
-scp Force use of SCP protocol.
-sftp Force use of SFTP protocol.
MORE INFORMATION
For more information on pscp it's probably best to go and look at the manual on the PuTTY web page:
http://www.chiark.greenend.org.uk/~sgtatham/putty/
BUGS
This man page isn't terribly complete. See the above web link for better documentation.
PuTTY tool suite 2004-03-24 pscp(1)