all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gottfried <gottfried@posteo.de>
To: "(" <paren@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: nautilus-admin
Date: Wed, 12 Apr 2023 15:27:30 +0000	[thread overview]
Message-ID: <b0472a2a-7e46-be4e-5a33-8b3f542e260e@posteo.de> (raw)
In-Reply-To: <87cz4988h1.fsf@disroot.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 1831 bytes --]

Hi,

I mean to copy everything, all directories and files including all 
sub-directories (which are 40 directories and 40 files) on the external 
harddrive /SD-Card to an other external hard drive

> If you mean copying multiple directories, just do:
>> 
>>    sudo cp DIRECTORY-1 DIRECTORY-2 DIRECTORY-3 HARDDRIVE-DIRECTORY


I don’t want to write every of the 40 directories and of the 40 files by 
hand but think
there is a command to copy all at once.

I was looking on the internet for this,
but didn’t find any command.

> Commands aren't as scary as they seem from afar.  I'd highly recommend
>> you take the time to learn about them :)

I have a book about Terminal commands,
but there I couldn’t find what I need.


Kind regards

Gottfried



Am 12.04.23 um 16:41 schrieb (:
> Hi,
> 
> Gottfried <gottfried@posteo.de> writes:
>> [[PGP Signed Part:Undecided]]
>> Hi,
>>
>> I have constantly problems to copy something to my external harddrive, because
>> it needs root rights.
>> I can do it only in the commandline, which gives me a lot of trouble, e.g. when
>> I want to copy all directories at once.
>> I don’t know the command for it.
> 
> What do you mean, specifically, by "copying all directories at once"?
> If you mean copying everything in a specific directory, you could try:
> 
>    sudo cp ORIGINAL-DIRECTORY/* HARDDRIVE-DIRECTORY
> 
> This command uses a /wildcard/, *, which expands the word
> 'ORIGINAL-DIRECTORY' to multiple words, one for each member of
> 'ORIGINAL-DIRECTORY'.
> 
> If you mean copying multiple directories, just do:
> 
>    sudo cp DIRECTORY-1 DIRECTORY-2 DIRECTORY-3 HARDDRIVE-DIRECTORY
> 
> Commands aren't as scary as they seem from afar.  I'd highly recommend
> you take the time to learn about them :)

-- 




[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  parent reply	other threads:[~2023-04-12 15:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12 14:38 nautilus-admin Gottfried
2023-04-12 14:41 ` nautilus-admin (
2023-04-12 14:54   ` nautilus-admin Wojtek Kosior via
2023-04-12 15:27   ` Gottfried [this message]
2023-04-13  4:06     ` nautilus-admin carl hansen
2023-04-13  4:19 ` nautilus-admin Felix Lechner via
2023-04-13 15:24   ` nautilus-admin Gottfried
2023-04-13  6:51 ` nautilus-admin Marek Paśnikowski
     [not found] ` <a154649c-8cc6-4918-8ecf-8edfba209379@trilingual.eu>
2023-04-13 15:26   ` nautilus-admin Gottfried

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b0472a2a-7e46-be4e-5a33-8b3f542e260e@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=paren@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.