Search Results

Search: Posts Made By: vikramsnest
3,977
Posted By vikramsnest
--------------------------------------------------...
--------------------------------------------------------------------------------
"/bin/find $1 -type f -name \"$2\" -mtime +1 -exec rm '{}' \;"
Thanx reborg
but i solved it ....
i am using ssh to...
3,977
Posted By vikramsnest
Still the err is der
Thanx a lot ..
but i am still facing the error ..any more guess

thx
3,977
Posted By vikramsnest
Err while using find command
hi frnds,
I have written a script as follows.

ssh username@servername "find $1 -type f -name $2 -mtime +1 -exec rm '{}' \;"


when i excute tis script i get error
FIND: Parameter format not...
17,564
Posted By vikramsnest
Issue
thx a lot frnd
i am still facing a problem :eek:
when i do
ssh username@serevrer
cd dir
find . -type f -name "*" -mtime +3 -exec rm {} \;

the script hangs

when i try to do tis at command...
17,564
Posted By vikramsnest
thx
Hi ,
Can u please send me some sample code ...
17,564
Posted By vikramsnest
SFTP +Find
Hi,
I am using sftp to loging to a remote server,
I need to remove all the files on the remote which are older than n days and of type *.txt*.
I tried
"find . -type f -name "*" -mtime +15" >...
17,211
Posted By vikramsnest
Exit codes in SFTP
HI All,
I have created a unix script which takes 2 parameters and using sftp tranfers files to remote location
following is the script

#!/bin/ksh
#
#
# Parameter 1 is the complete path of...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 12:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy