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



I swear this worked two days ago when I first tried it. I didn't get any error
messages and the files were indeed deleted.

    scp  /dicts/ddb/pcache-update user@example.com:public_html/ddb/pcache/pcache-update;

    ssh user@example.com 'cd public_html/ddb/pcache && xargs rm'  < pcache-update;

Now when I run it, the file obviously get copied to the server, in the
proper directory, but for some reason, the file is not found

   chuck@example.com:~/bin$ pcache_update_ddb 
   pcache-update                                 100% 2257     2.2KB/s   00:00    

   /home/chuck/bin/pcache_update_ddb: line 5: pcache-update: No such file or directory

   chuck@example.com:~/bin$ 

I hesitate to keep bugging everyone with this, but after getting this
far with this and this much input, I don't want to give up. If anyone
can readily identify a possible point of error, I'd greatly appreciate it.

Chuck
 
-------------------

A. Charles Muller

University of Tokyo
Graduate School of Humanities and Sociology, Faculty of Letters
Center for Evolving Humanities
7-3-1 Hongo, Bunkyo-ku
Tokyo 113-0033, Japan 

Web Site: Resources for East Asian Language and Thought
http://www.acmuller.net

<acmuller[at]jj.em-net.ne.jp>   

Mobile Phone: 090-9310-1787




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links