Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] deleting a local list of filenames from remote server



Bruno Raoult writes:

 > Your try cannot work, as you try to run a remote script ("xargs")
 > on a local file (if I understand what you tried), which is not
 > accessible from the remote host.

Ah good point.

How about

    ssh user@example.com 'cd public_html/cache && xargs rm'  < filelist

then?



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links