Mailing List Archive
tlug.jp Mailing List tlug archive tlug 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
- Date: Fri, 5 Dec 2008 12:23:15 +0900
- From: "David Shanahan" <david@example.com>
- Subject: Re: [tlug] deleting a local list of filenames from remote server
- References: <4935289F.4090309@jj.em-net.ne.jp> <200812020955.05333.daniel.ramaley@drake.edu> <20081205.105638.193691166.acmuller@jj.em-net.ne.jp>
On Fri, Dec 5, 2008 at 10:56 AM, Charles Muller <cmuller-lst@example.com> wrote: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;The " < pcache-update" is interpreted by your shell before the ssh even runs. It is tryingand failing to find pcache-update in the current directory on your local machine.If this was working for you before the simplest change is probably just:ssh user@example.com 'cd public_html/ddb/pcache && xargs rm' < /dicts/ddb/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
--
To unsubscribe from this mailing list,
please see the instructions at http://www.tlug.jp/list.html
Please visit our sponsor at http://www.primustel.co.jp/tlug/
- References:
- [tlug] deleting a local list of filenames from remote server
- From: Charles Muller
- Re: [tlug] deleting a local list of filenames from remote server
- From: Daniel A. Ramaley
- Re: [tlug] deleting a local list of filenames from remote server
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] deleting a local list of filenames from remote server
- Next by Date: Re: [tlug] deleting a local list of filenames from remote server
- Previous by thread: Re: [tlug] deleting a local list of filenames from remote server
- Next by thread: Re: [tlug] deleting a local list of filenames from remote server
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links