[Linux-disciples] Question about syntax using mv

Jason Smith pelican317 at mac.com
Tue Oct 18 14:43:05 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Two questions:

Is that the same as either option I suggested just far more elegant?

Also, there is a set of files that I want to overwrite there if they  
are duplicates, wouldn't i need the "f" argument? Wouldn't I need the  
"r" argument since it is a directory?

j

On Oct 18, 2005, at 2:40 PM, Stephen R Laniel wrote:

> On Tue, Oct 18, 2005 at 02:38:26PM -0400, Jason Smith wrote:
>
>> foo has files in it. I want to move it and the files in it to another
>> directory. What is the syntax
>>
>> mv -fvr ~/foo /bar/foo
>>
>> OR
>>
>> mv -fvr ~/foo /bar/foo/
>>
>
> I'd just do
>
> mv ~/foo /bar
>
> -- 
> Stephen R. Laniel
> steve at laniels.org
> +(617) 308-5571
> http://laniels.org/
> PGP key: http://laniels.org/slaniel.key
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDVUJEWecT8/cuAfMRAuUMAKC4folIFoTEjAt2A2qVAdyl8uY6BwCeKSGC
1ydoqwnBjv8DvL1TtUJjLBE=
=2X/k
-----END PGP SIGNATURE-----


More information about the Linux-disciples mailing list