From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24907 invoked from network); 29 Dec 2021 15:38:40 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 29 Dec 2021 15:38:40 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id D17799CFFC; Thu, 30 Dec 2021 01:38:37 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id AED5F9CEF3; Thu, 30 Dec 2021 01:38:11 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="poSiJQYG"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id B315E9CEF3; Thu, 30 Dec 2021 01:38:08 +1000 (AEST) Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) by minnie.tuhs.org (Postfix) with ESMTPS id E67369CEA9 for ; Thu, 30 Dec 2021 01:38:07 +1000 (AEST) Received: by mail-oo1-f48.google.com with SMTP id w15-20020a4a9d0f000000b002c5cfa80e84so7098455ooj.5 for ; Wed, 29 Dec 2021 07:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=vxrngYiZopO418N8mOusNv7K1MCnRAuDgfAdbzUS3WY=; b=poSiJQYG3jB5pg2P9YDnFuh1pm6x+UxkWXW6GkUa5q0duIQ6rolUOPUg+s4JqmYb3D ACo/Q3t9urQvBjawjViH/yzX3JR1yAZ8182axq1BZoYquhkhFo700Yhq6nmqlFI31YAy cJPfTwNIrMOK392VoufUstK+iAmNdilTgPP1RzkmrhgNWtJthCqe8MTDh1zJSn7idfyM JeHlw6UirZpLnhFf3RuE+QxajVfg0Px68DghOnUt8N0v4MF4PnJJ43ODylx6wDQV2JCY qlb5Dz4Ya0IEyGu//Fw5nm66RJW8sVgQNwVy+DZpC+Ndx59keBSPUce5OQb/jP4FZqVA Rhfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=vxrngYiZopO418N8mOusNv7K1MCnRAuDgfAdbzUS3WY=; b=cPGK4r/0+XaZeW1ymkcn9tyLUctZBHdvE9wsWA5r7K0K1qL9Tx/DpoSLm8+Nnt8NN5 y6taXBUhbWDIKPd7xk68GMvnghSMGYfdM3sk3ox8y5QqCcDRlfQhPfVXaOh4sTU1r3/r yW6hCiPMomaiJHsDHgKgCCj+/y6JQwo0fenthlmVYdx6XLt+/d+mFpCVWkuiL+iSwYDE WUN9Vqx1OecaPuj9z/sVTAS+/ThNW7Pc+lWABt52Cu7Qvv96ORlDc24FH/b8HE42o02K upwjM263rP1xUNTdgxbEAGmWvH31G9IMTSl7CcD3wnU1C2dLFiKFCLCvZAFQ5SDzMaO2 l+HQ== X-Gm-Message-State: AOAM530QBJe8AX9lHxbOkiDOsII6purHDYZblnns6pQ2XELeuRZPRr1k FTca/4IxLTleV1WstkmaBzFHKqsfF+cpVA== X-Google-Smtp-Source: ABdhPJzX11ZUX6naAvZ29Gs6/jJe8UNowlmVwxiM1sX4n6skZlC91795RcElCZSgG9uUn8BWkq83yA== X-Received: by 2002:a4a:41cb:: with SMTP id x194mr16331666ooa.51.1640792286827; Wed, 29 Dec 2021 07:38:06 -0800 (PST) Received: from [192.168.1.13] (035-134-121-000.res.spectrum.com. [35.134.121.0]) by smtp.gmail.com with ESMTPSA id f27sm3601051otc.16.2021.12.29.07.38.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 07:38:06 -0800 (PST) Message-ID: <3606ba6d-7d00-01f2-2a52-06cfb440dfbb@gmail.com> Date: Wed, 29 Dec 2021 09:38:05 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US To: arnold@skeeve.com, tuhs@minnie.tuhs.org References: <529fceae-2493-e9b1-c949-928e95e430e1@gmail.com> <202112291502.1BTF2926024814@freefriends.org> From: Will Senn In-Reply-To: <202112291502.1BTF2926024814@freefriends.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [TUHS] moving directories in svr2 X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" That's fascinating. I always wondered how oldtimers were so facile with cpio and its ilk. If they had to use if for stuff like this, it's no wonder they built some muscle memory on it. Thanks, Will On 12/29/21 9:02 AM, arnold@skeeve.com wrote: > System V of that era didn't allow moving directories. You can copy them > recursively with find and cpio with the option that makes hard links > and then remove the old directory, or use a standard tar pipeline to > copy the directory tree. > > BSD has always allowed moving directories; I *think* that descends > from Research Unix but I don't remember for sure. > > HTH, > > Arnold > > Will Senn wrote: > >> I'm a little flummoxed in trying to move some directories around in >> svr2. Shouldn't the following work? >> >>     mkdir a >>     mkdir b >>     mv a b >> >> I get the following error: >> mv: b exists >> >> I tried many of the possible variants including: >> >> mv a b/ >> mv: b/ exists >> mv a b/a >> mv: directory rename only >> cd b >> mv ../a . >> mv: . exists >> mv ../a ./ >> mv: ./ exists >> mv ../a ./a >> mv: directory rename only >> >> >> If moving directories into existing directories wasn't allowed in those >> days, 1) how were directories managed? and 2) when did moving >> directories into directories become a thing? >>