Questions tagged [copy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Copy files inside a folder iteratively - Bash

I want to copy all the files inside dmir.bedpostX folder, to a different location, keeping the structure. Bedpost_Controls └───C01 │ └─── dmri.bedpostX │ └─── *files* └───C02 ...
6
votes
2answers
498 views

Slow write speeds when writing onto USB flash drives

I am running Ubuntu 20.04 on an old Dell Optiplex 760 box and the transfer speeds while copying files to USB flash drives are quite slower than what they should be, furthermore, at the end of the ...
-1
votes
0answers
28 views

Copy all files from L2 subdirectories to another folder

I have my directories in the following format: . ├── 1 │   ├── A │   ├── B │   ├── C │   ├── D │   ├── E │  ├── 2 │   ├── A │   ├── B │   ├── C │   ├── D │   ├── E │   ├── 3 │   ├── A │   ├── B │   ├──...
0
votes
0answers
47 views

cp: cannot stat '{1..112046}.pth': No such file or directory

I am using Ubuntu 16.04. I am trying to copy the range of files from one directory to another directory. cp {1..112046}.pth path/to/destination_folder While being inside the source folder. But it ...
2
votes
1answer
147 views

How to avoid certain directory or files while copying from main directory?

Suppose I have a directory structure as the following: main folder sub directory sub2 directory I want to avoid copying a specific directory or files while copying from main folder. I have ...
0
votes
1answer
59 views

Fresh OS install - Restore everything from a copy

I recently installed Ubuntu Budgie 20.04.2 LTS but for some issues I had to format my disk. Before that I copied the entire Ubuntu folder "/" and all sub-folders on a separate drive. Now I ...
0
votes
1answer
46 views

Move all mp4 from folders into another folder

Currently I have a folder with alot of mp4 files located like this: Folder1/titleplaylist/mp4files Folder1/titleplaylist2/mp4files Folder1/titleplaylist3/mp4files Currently I'm using this command: ...
0
votes
1answer
31 views

Copy files from unspecified number subdirectories

I have a directory tree as follows / --/Directory1 --/Directory2 -----/SubDir1 -----/SubDir2 Each of these has a file with a .mp4 extension I am looking for, and want to move to another folder. I ...
1
vote
2answers
96 views

Cannot copy/cut and paste from file manager to Desktop on Ubuntu 20.04 LTS [duplicate]

VIDEO I cannot copy and paste files from the file manager to Desktop on Ubuntu 20.04 LTS. Is there a way to fix this issue?
0
votes
3answers
74 views

Bash: Copy to home directory

A bash script is used to copy a file to startup directory. It works fine when the username (ashok) is explicitly given: #!/bin/sh sudo cp /usr/share/applications/syncthing-start.desktop /home/ashok/....
0
votes
0answers
31 views

How to reinstate files from an rdfind (removes duplicates) summary text file

I have used rdfind to remove duplicate files. It produces a results.txt file. This shows the first of the duplicate files which it did not remove and then the list of all the duplicates that were ...
0
votes
1answer
63 views

Progress bar when doing a tar

I everyday has to copy files from my computer to an SD card using: tar zxvf file.tar.gz -C /path_to_SD_card Ubuntu execute that command instantly, but as you may know, it keeps copying the files in ...
0
votes
2answers
57 views

Extracting Mp4 files from multiple folders into one folder

I currently have like 100s of folders containing mp4 files in my /Downloads folder How can I move all the mp4 from the subfolders into 1 folder at once? Also the subfolders names are all diffrent the ...
0
votes
0answers
44 views

How to Copy All Image Files On Entire Disk Into One Directory

I'm looking for a command to copy all image files (.jpg, .jpeg, .png, .avi ...) from entire disk (all directories and sub) into one directory. I've seen other question/responses on this topic on other ...
0
votes
1answer
159 views

IO_PAGE_FAULT when copying files between two HD

I try to copy big amounts of data from one (spinning platter) disk to another (spinning platter) disk, but my computer always freezes after 1-4 hours with these messages in the system log: Jan 24 20:...
0
votes
1answer
32 views

Moving large QEMU image files from damaged HDD to new drive impossible

Hmmm... I have a very strange thing at hand: Due to a system's HDD wearout failure (defective blocks) we obviously had to replace the HDD. Everything worked well until we started to move two files of ...
0
votes
1answer
25 views

Copy last line of a local file onto a file on a remote server

I hope the title makes sense. I am trying to copy the last line of a file onto a file with same name on a remote server. For example: copy last line of server1:/opt/users.txt to server2:/opt/users....
0
votes
0answers
22 views

Ubuntu Portable HDD is full when copying files

My laptop runs on Ubuntu 18.04. I also have an MBP. Recently I've bought a portable HDD of 1TB to keep a backup. My laptop has 240GB SSD which is solely for the OS and related stuff. And another 1TB ...
1
vote
0answers
26 views

Is it possible to copy a drive backup image, stored by Clonezilla on USB stick A, to a second USB stick B, to be ready in case the USB stick A failed?

In case a backup image of the main internal SSD drive, loaded with Ubuntu operating system, got made and stored by means of Clonezilla on USB stick A, would it be possible to copy this image from USB ...
1
vote
1answer
151 views

Unable to start CopyQ - despite process working

One of my favorite plugin does not work, I have checked in console and it seems working fine: twaszczyk@ktwtomwasnb:~$ copyq --version CopyQ Clipboard Manager v3.10.0 Qt: 5.12.5 Compiler: GCC Arch: ...
0
votes
0answers
25 views

How to solve, Permission Denied when coping files form imac backup to Ubuntu 20.04.1 installation?

Some of my backup files have red dot with a white X on it. I cant open the files. I cant Copy Paste the files from my hard disk drive to my new Ubuntu 20.04.1 installation. These are all files I used ...
1
vote
1answer
37 views

Screenshots don't get automatically copied. Ubuntu 20.04.1 LTS

When I take a screenshot it just gets saved in my pictures folder but doesn't get copied automatically anymore. Before I was able to paste my screenshots right after taking them but it suddenly ...
0
votes
1answer
71 views

Copy of mutiple files from HD to USB hangs

I am trying to copy music files from my Ubuntu system disk (resides in my home "Music" directory) to a USB stick.I have tried multiple different USB ports attached to different USB ...
0
votes
2answers
40 views

Commandline copy of contents between patterns from a text file to another

I have an html file contents copied to a text file in the following form: ... course 10> user_1 </a><br /><a class="reviewlink" href="https://www.foo.com/moodle/mod/...
0
votes
0answers
74 views

Force Copy with Ubuntu 20.04 GUI method

Just upgraded from Ubuntu 16.04 to 20.04. a couple of weeks ago. Mostly pretty good, but the file browsers are giving me big problems. I have a directory I wish to copy. In that directory are a number ...
1
vote
0answers
70 views

How can I make an exact copy of a file

I'm trying repeatedly to copy one folder between two partitions in the same disk. Both partitions uses the same filesystem ext4. I use cp command but some files are not exactly copied. I want to know ...
0
votes
1answer
159 views

Systemback 1.9.4 - Errno: 22 during system copy

Copying my system (included user data copy ) to internal HD, systemback stopped with error 22 and aborted the copy. Tried to trace with DBGLEV=3 systemback-sustart having the following result: ...
2
votes
1answer
134 views

Unable to move files to desktop

I have just switched from Mac OS X to Ubuntu. The mac I'm using is macbook pro 2012. Ubuntu will not allow me to move files (folders, music, pdfs, etc.) from my usb stick to the desktop. When I ...
0
votes
4answers
270 views

How to copy files from a directory to desktop by directly dragging it in Ubuntu 20.04.1 [duplicate]

I'm new to Ubuntu and I try to drag a file directly from a fold to the desktop in order to copy the file as one can do in Windows. But it doesn't work. I know how to do it in terminal, and I have ...
1
vote
3answers
913 views

How do I backup everything on Ubuntu 20.04?

I would like to backup everything on my computer (as simply as poss) and save it somewhere else like a usb drive. For example I would like to copy everything, my desktop, theme, all my favourites from ...
0
votes
0answers
26 views

Problem in copying texts from codeblocks 20.03 in ubuntu 16.04

I am using ubuntu 16.04 And codeblocks 20.03 When i copy from codeblocks and paste anywhere else, nothing gets pasted. But when i paste in codeblocks, it worked fine. I used Ctrl+C and Ctrl+V Also ...
0
votes
0answers
32 views

How to copy on Ubuntu 18.04 with HP deskjet F4210 all-in-one printer? [duplicate]

I managed to be able to make a scan with my HP Deskjet F4210 All-in-One printer and Ubuntu 18.04 thanks to this article: https://askubuntu.com/questions/1030926/ubuntu-18-04-doesnt-see-the-hp-scanner ...
0
votes
0answers
248 views

Rsync errors when backing up /home to ntfs file system

I'm having problems getting a perfectly accurate rsync copy made of my old /home directory files even though I'm using root on a live Xubuntu distro to access the old drives. What is the best way to ...
0
votes
1answer
36 views

How to duplicate all files in a given folder with auto renaming

What I basically want to do is take all files in a directory and make a copy of them within the same directory therefore doubling the directory size. When I try to use cp however, it keeps telling me ...
1
vote
1answer
102 views

On Ubuntu 20.04 the clipboard is cleared when I log out. Is this the same behaviour as on other systems?

OS version: Ubuntu 20.04.1 LTS Ubuntu clears the clipboard content after logging out. So let's say that I copied a piece of text before logging out and I logged in again, the text can't be pasted. I ...
0
votes
1answer
362 views

Copy file from terminal and paste in GUI and vice versa

Is there a way to copy a file with a terminal command and then paste it via the GUI somewhere? I just wondered that. I never thought of this so far, but sometimes that would be really handy. Would ...
4
votes
1answer
691 views

I cannot move multiple files by drag and drop method

I'm using Ubuntu 20.04.1 LTS. My problem is when I want to move some files to another place, I'm selecting files then trying to move but the selections disappearing and this way I can move only one ...
2
votes
1answer
71 views

What command does Ctrl+C execute?

I want to create a shortcut in Ubuntu which would open new tab and search for selected text in Firefox. For example, if I get some error I would select it press the shortcut and the new search would ...
7
votes
5answers
3k views

Appropriate command to copy everything in root “/” to an external storage volume?

I want to copy everything in root / to my external hard disk before I upgrade my OS so I'll have everything just in case something goes wrong. Is the following the most appropriate command for it? ...
0
votes
0answers
59 views

Copy column 9 to column to in the same file

I have a gff3 file with 9 columns, I want to copy the 9th column and its content to column 2 of the same file so column 2 and 9 will look identical. Was hoping if there is a way to do that. Appreciate ...
0
votes
2answers
54 views

Copying and renaming files

I am trying to copy multiple files from separate folders and paste them in a new folder with new filenames. Can anyone help me with the same? For example: I have folder 1,2,3,4,5 and each one of them ...
0
votes
1answer
235 views

How to transfer / copy files from docker container to local directory in ubuntu 18.04?

I am using ubuntu 18.04 with virtual machine for running my program in remote GPU server. I ran my program in docker and I want to transfer plot files in docker container to local file directory in my ...
2
votes
1answer
75 views

Which folders are ABSOLUTELY safe to copy from an old 18.04 ubuntu machine to a new 20.04 ubuntu machine (without updating the former to 20.04)

I understand that this question might come off as a borderline carbon copy of How to safely copy home folder from a 10.04 desktop to a new ubuntu 12.04 installation on a notebook? and feel free to ...
0
votes
1answer
153 views

How to copy relative symbolic links

I want to copy cp in terminal a symbolic relative link into another directory, and I would like the copy to keep relatively pointing to the original target file. How can I simply do it? Minimal ...
0
votes
0answers
25 views

How can I move a file from my computer to a remote machine, bypassing through a second computer?

I need to copy a program (which I have modified on my computer) to a Unix. I can't do it straight away because I need first to pass from another machine. I have tried with: scp /path/of/the/...
2
votes
0answers
76 views

Copy and paste from Windows 10 to Ubuntu 20

I am running Ubuntu 20 through Oracle VM and I'd like to be able to copy and paste lengthy strings into Terminal from my Windows OS. I have installed Guest Additions and turned on Bidirectional ...
0
votes
1answer
31 views

simple cp command problem “ i try to copy only ”

cp: 'test.txt' and 'test.txt' are the same file asadzoot@asadzoot-Vostro-14-3468:~/cnc/q1$ cp test.txt home/asadzoot/cnc/q1/ cp: cannot create regular file 'home/asadzoot/cnc/q1/': No such file or ...
2
votes
0answers
829 views

Cut, Copy Paste keyboard shortcut problem on ubuntu 20.04 [duplicate]

I have just installed ubuntu 20.04 on my dektop and when I tried to use ctrl+x, ctrl+c, ctrl+vshortcuts to cut/copy/paste a file/text/folder etc nothing happened. I checked the keyboard shortcuts on ...
-1
votes
1answer
726 views

Copy and rename at the same time

I need to copy sample.txt from foo/ to bar/ and when pasting in bar/ that should be renamed as test.txt What is the command i need to use for this ?
0
votes
1answer
60 views

How to copy the content of a file using command line

My question is may be too simple or hard Is there any way I can copy the content of a file using the command line the same as you do with right click + copy? After that I want to paste what I copied ...

1
2 3 4 5
7