0 down vote favorite I am using lftp to coect to a remote server as:
lftp -u user,pass -e "echo 'hello' ;quit" host
What I want to do is to find and delete all the files in the root directory which are older than 1 day.
Initially I tried to find all files starting with a specific character as:
find / -name 'A1*'
But I get an invalid command error. I checked the documentation of lftp and found out that the find command doesn't support searching with specific strings.
What would be the alteative?
برچسب:
نویسنده: استخدام کار