[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] Using mv command
- To: "list@xxxxxxxxxxxxx" <list@xxxxxxxxxxxxx>
- Subject: Re: [LUG] Using mv command
- From: mr meowski <mr.meowski@xxxxxxxx>
- Date: Sun, 28 Oct 2018 18:27:34 +0000
- Accept-language: en-GB, en-US
- Content-id: <329ECC4FB8C5A74FA7F2189603DDAC16@eurprd08.prod.outlook.com>
- Content-language: en-US
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dclug.org.uk; s=1538993161; h=Sender:Content-Transfer-Encoding:Content-Type :Reply-To:List-Subscribe:List-Help:List-Post:List-Unsubscribe:List-Id:Subject :MIME-Version:Content-ID:In-Reply-To:References:Message-ID:Date:To:From:Cc: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner:List-Archive; bh=diJbr8+7z0/y5d4HNWeiX+lNLRKV78m/gYVfjVMKAcI=; b=eG83Ra7CxRvt4Ciihemqd0TvOi 74VS8Ox96/npD5vZSIyr3odtONe3pCXoMc6aK7BY9TDVJKWFGTmO7jQCXodiui5cI/kk0yR/Qx4v0 j4TYRuoZ/cLdrfOogqiEdfcqJIDI6TdPQxWi3VVzX3YK/MylW/dHxQpYKpJ2GBhMi1Gs=;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DvDoenhT8PUo1RKoblMopqCCLsOixJ6UqeJOoDSgT3A=; b=e3MDBuj8BqFsg9o25dRP/FmmrCr5VIX6PNe6qVI+O3LaJs/wnhz30jjWPePlANb6GmDcAT7nu2chZm/+5zBdoJCqX2UYXOjYRKVxOwIV4rezLRZ0jVO3T8dd9oTvv/aN7Cu4jqTOZzQYmXVTJkajJfi5dyADYWwNXWcMu4t5Aogc2Bxkix3YLnpVJsHwCfW7HJ+PpjudzsoXHTJIJCi1KgiGaKFFK+dQftBM15PogSjsEbn9bEQU7H0DONP0uEgkrkpuz8aTMJR5k8TADw4LSpzJL4/CJMjfP8KoE46LDPaQsmXiCf8MKcgB1Mtlf9LKcUA5c16xIQDa3g4qoXknmg==
- Thread-index: AQHUbuOW/04iJ7bskUmL24CFVpPgiaU0+gAA
- Thread-topic: [LUG] Using mv command
On 28/10/2018 17:22, Richard Brown wrote:
> Hi All
>
> I can't work this one out. Is it possible to move all files inside
> multiple folders to a single folder. I have a directory called 2013 and
> Google Photos has 'helpfully' put all images into multiple folders.
> 2013-6-01 etc. I want all images for 2013 to simply be in the 2013
> folder. In addition to this I am trying to combine multiple photo
> libraries! So I am trying to
>
> Take all images in multiple folders
>
> Move to single folder
>
> Check for duplicates and if so add 01, 02, 03
>
> Is this possible using mv please?
There are a million ways to do this via the shell of course but I'm
going to uncharacteristically suggest a more friendly option.
Just open Nautilus (or any other file manager... probably) and navigate
to the correct directory. Use the little search function and put in .jpg
or .gif or whatever other term you like - the results are recursive so
you'll see everything descending through any nested folders. Then
operate on the filtered files as you like.
Whatever you do make a copy of the original data first and operate on
that instead. Make sure it's right first and then you can replace the
old version with your new version safely.
Cheers
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq