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 09:08:04 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] deleting a local list of filenames from remote server
- References: <4935289F.4090309@jj.em-net.ne.jp> <87hc5mzixs.fsf@uwakimon.sk.tsukuba.ac.jp>
- User-agent: Mutt/1.5.17 (2007-11-01)
On 2008-12-03 00:38 +0900 (Wed), Stephen J. Turnbull wrote: > ssh user@example.com 'cd public_html/cache && xargs rm < filelist' > > should do the trick. (The && is paranoia, just in case the cd fails > and you have a similar files in your home directory for some reason.) Don't count on this; cd returning an error code when it can't change to the directory is actually a bashism, and most other Bourne-type shells don't do this. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] deleting a local list of filenames from remote server
- From: Dave Brown
- Re: [tlug] deleting a local list of filenames from remote server
- From: Stephen J. Turnbull
- References:
- [tlug] deleting a local list of filenames from remote server
- From: Charles Muller
- [tlug] deleting a local list of filenames from remote server
- From: Stephen J. Turnbull
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: [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