Quote:
Originally Posted by Amerika
What is my problem is to show where are the files on the remote server!
Easy to make an local find command like :
Code:
find . -mtime +7 -exec rm {} \;
But how can i use this command on to an remote computer from the local computer?
|
As was suggested to you earlier in the thread:
Quote:
Originally Posted by schneidz
my advice to you would be to mount the directory on the server using something like sshfs and running the find command from cron.
i.e.- try to use the insecure, deprecated, featureless ftp as least as possible.
|
Using FTP is old and insecure. If you use it, you're limited by it. Again, mount the remote system as another file system (either use sshfs or nfs), and then you have the ability to use any command/utility you'd like.