[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] [ot] rsync option



Hello,

I'm not sure if this is a one-time task or one you want to repeat.

If it is a one (or couple) time task, I've done it quite easily in the
past using midnight commander (mc).  Start MC, then do a search for
all the files in the directory and subdirectory with only a wildcard
*.  Then once you get the results, one of the options is to panalize
the search results.  Doing that will result in a single listing of all
the files in all directories and sub-directories.

Tab over to the other side, identify the destination (it can be
another server as MC lets you ssh/ftp) then hit F5 to copy or F6 to
move and you're done.

Hope that helps.
Joseph

On Tue, Jan 10, 2012 at 8:28 PM, Sudev Barar <sbarar gmail com> wrote:
>
>> Hello list,
>>
>> This is off topic but hope that  combined list experience may set me on
>> the right path.
>>
>> I want to copy all files from one source with directory and sub-directory
>> structure to destination but here I want to dump all files into one single
>> directory.
>>
>> Have tried with various options but have not been able to find right
>> options.
>>
>> Or it is just not possible with rsync?
>>
>> The reason is that I have the servers that contain mostly similar data
>> with some (relatively speaking) files that were changed while we migrated
>> from first to second to third.
>>
>> Using rsync -u would keep the latest file in the single directory
>> structure. Later I will create sub directories on the destination do that
>> each directory contains only one type of files
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]