[conspire] (forw) Re: UNIX beginner asks: what's a good forum for q's about command-line utilities?
Deirdre Saoirse Moen
deirdre at deirdre.net
Thu Sep 2 19:50:46 PDT 2010
If you want to move ALL the files (and only those that have changed, which will initially be all of them):
rsync -av src dest
e.g., rsync -av ./ ~/Sites/deirdre.net/
with the -e ssh option, it can also do it remotely. There's a lot more options as well including means of excluding and including files.
Deirdre
On Sep 3, 2010, at 9:24 AM, Rick Moen wrote:
> I want to move multiple files to a directory. I know how to use mv to do
> this one file at a time (i.e., mv [file] [directory]), and I figure there
> must be a way to do it en masse, without naming each file explicitly. Below
> is my conversation with the system. On the off chance that mv supported
> perl-like regular expressions, I tried using .* as a wildcard, but mv does
> not like that. ("August, 2010" is a directory; anything named "August x,
> 2010", where x is a numeral, is a file. I have deleted the full pathname for
> privacy and inserted a few hard carriage returns for readability.)
More information about the conspire
mailing list