Questions tagged [copy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 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
18 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/...
1
vote
0answers
35 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
24 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 ...
0
votes
0answers
12 views

XF86Paste and keycode

Why doesn't the following work with keycodes? keycode 31 = c C XF86Copy I am trying to assign AltGr or mode switch to copy but it doesn't work.
2
votes
1answer
781 views

Cut, Copy Paste keyboard shortcut problem on ubuntu 20.04

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 ...
0
votes
0answers
26 views

bash script copy to directory contains special character (\@)in path

I'm writing script to copy directory to repository. but repository name has special characters (@hashed) in path. please suggest to make it work. #!/bin/bash hashed_path=@hashed/gir/repo if [ ! -d /...
-1
votes
1answer
30 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
0answers
40 views

Virtual Box drag and drop folder with contents (host to guest)

I tried to drag and drop an entire folder, with contents, but only got an empty folder on the guest VM file system. I had to select all of the files within the folder on the host and drag them into ...
0
votes
0answers
18 views

Input/output error while paste to my hhd

After remounting my filesystem to read-write,when i try to paste a file to my hhd,there shows an error : Error creating directory /media/riyadh/movies/Witness.For.The.Prosecution.1957.HDTV.720p.H264: ...
0
votes
1answer
44 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
vote
1answer
72 views

Error while copying files to external hard drive

I am trying to copy image files to an external hard drive. The file names are like "2020-03-25 09:21:27 624.jpg". I have previously copied a similar data set to the same hard drive in Windows 10. ...
0
votes
0answers
18 views

copy on files which are binded and mount on linux fails

I am playing around with binding individual files and perform mount on them. I am following the same steps on 2 devices, one is an embedded Linux device and another on Ubuntu 16.04 machine. Following ...
1
vote
1answer
75 views

How can Filename too long be avioded in a copy-paste operation?

Im copying some files from one hard drive to another via drag and drop. I got some errors about filenames being too long. Admittedly, the files that wont copy are probably nothing anyone cares about, ...
0
votes
0answers
39 views

Virtualbox drag and drop works but not copy paste?

I think there are many questions about this topic, but I don t think I saw this specific case: I have Vbox 6.1.4 within windows 10 and installed ubuntu 18 latest version on it. I installed the guest ...
0
votes
0answers
21 views

USB Write buffer + Suspend

There are few questions about some time between GUI copy window finishes the copying process to the external drive and a moment when the IO queue is fully written to the drive. IO queue: https://...
0
votes
2answers
37 views

How to disable swapfile only for specific actions?

When I copy a big file in ubuntu 18.04.4, ubuntu lags and the whole system gets slower. I searched for this issue and one solution was here. But it didn't worked for me. Then I found the second ...
0
votes
0answers
38 views

Ubuntu lags when copying big files from external disk

I have a dual boot system(Windows 10 and Ubuntu 18.04 on ASUS K556UQ-K). When I copy a big file from windows partition or from an external hard drive to ubuntu, ubuntu lags. Or for example when I work ...
0
votes
0answers
36 views

18.04: cp only copies first 263 MB of files to USB

I noticed that my computer (GNOME desktop environment) somehow cannot handle copying files larger than 275775488 B (263 MB) to my USB stick. I tried copying the files several times and the files ...
2
votes
0answers
88 views

Mouse copy in LibreOffice working every second time

HP-EliteBook-Folio-9470m, Ubuntu 19.10, LibreOffice Version: 6.3.4.2 Build ID: 1:6.3.4-0ubuntu0.19.10.1. Mouse copy works every second time. Example: copy 1, paste 1, copy 2, paste 1,copy 3, paste 3, ...
1
vote
0answers
34 views

Restricting file copy to a folder in dependence on the size [closed]

I want to apply some restrictions for file copying. My restrictions are: If any file size is less than 5 MB, it can’t be copied to my data folder. If any file size is greater than 5 MB, it can be ...
0
votes
0answers
32 views

Copying files from Windows directory into run folder - openFOAM on Windows

I have recently installed OpenFOAM on Ubuntu Bash. I am using Windows 10 and I am trying to copy an example from internet into OpenFOAM. However, when I copy the files into run folder and run Ubuntu ...
0
votes
0answers
34 views

How can I autocopy files from pendrives?

How can I autocopy files from pendrives (in the background) to a folder in my computer when I connect any pendrive to it?
1
vote
1answer
230 views

Show transfer progress while copying files

Copying large files in ubuntu (19.10 in my case) in Nautilus, Files or Midnight Commander and Thunar to an external drive (FAT or NTFS) gives me a box that displays the progress bar without "...
1
vote
1answer
79 views

Copy MP4 files from direcotry tree (-R) to a single directory

I have a bunch of MP4 videos in a directory tree (by category), and I want to recursively copy them all to a single directory on another drive. I tried: cp -R -p -f /hdd1mnt/Videos/*.mp4 /hdd2mnt/ ...
3
votes
0answers
105 views

System freezes on copying or pasting

I am using LibreOffice Version: 6.0.7.3 Build-ID: 1:6.0.7-0ubuntu0.18.04.10 CPU-Threads: 12; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3; on an Ubuntu 18.04 LTS. When copying something, the ...
-1
votes
1answer
48 views

Scp any 100 files and its corresponding xml files to a remote pc?

I have around 2000 images in a folder.I need to scp 100 or 'n' no of files from the directory to a remote pc folder.I have the files as follows. 1. A.jpg 2.A.xml 3.B.jpg 4.B.xml..... etc How can i ...
0
votes
3answers
124 views

How to copy/move files with more than two keywords

I have a file list like this (long list, not all): And I want to filter the files with keywords "QM" and ".h5", so I type ls|grep "QM"|grep "h5" and it shows these (what I need) So basically I want ...
0
votes
0answers
31 views

Text on Desktop that can be copied but not modified

I have some code that I use all the time in the terminal, so I would like to have it on the Ubuntu 18.04.3 LTS desktop. I want to be able to copy it from the desktop but not be able to modify it from ...
-1
votes
0answers
16 views

How can I copy/move the contents of my home using a startup disk?

My laptop is running Ubuntu 16.04 LTS. I updated the software last night and it has since stopped detecting the trackpad. I followed the instructions of an online tutorial to get it back but now even ...
2
votes
2answers
1k views

How do I clone an Ubuntu system to a new machine? [duplicate]

I have an Ubuntu system with a large project, many small projects, and (of course) loads of packages and libraries. If I buy a new computer and want to replicate all of this, how do I do it? I ...
0
votes
1answer
143 views

Permission Denied when I try to copy files to another partition

When I try to copy downloaded files to other partition, I get an error like in this picture: The partition is dev/sda6 which is empty and I want to use as and partition that just for saving files. ...
1
vote
1answer
122 views

Ubuntu freezes when i copy or cut anything

When i copy or cut anything Ubuntu freezes for 1 or 2 seconds. Under freeze i mean i can't do nothing except move mouse cursor. Can't change windows, can't move text cursor during freeze. It also ...
0
votes
1answer
75 views

Copy all files from subdirectories and subsubdirectories to main directory with modifying file names by adding prefix of all parent directories

Following these two posts: Move files to parent directory, prefixing file name with former subdirectory name recursively add directory name to file name I would like to do the same but with copying ...
-2
votes
1answer
48 views

Copy files such that individual files gets copied to the folder having file name as a string within complete folder name [closed]

I am using Cygwin as Linux shell, I have following contents in my current working directory: Files : Abc.dat 123.dat 456.dat Directories: W_Abc_w W_123_w W_456_w Now I want to copy files as ...
17
votes
1answer
2k views

Copy and paste issue with Ubuntu 19.10

Since updating on Ubuntu 19.10 I have to copy a text twice to insert it. This issue occurs when I want to copy a password from a file opened inside LibreOffice Writer to Firefox. How can I solve the ...
0
votes
0answers
18 views

What are the different ways to copy and back up devices? [duplicate]

The dd command is one method to copy files from one device to other device. Other method is using Clonezilla. What are other ways to do it. What are the differences? In what conditions it's preferable ...
1
vote
1answer
304 views

How to make almost all Linux files management case-insensitive but its shell copy command 'cp', 'mv' to be case-sensitive?

How to make almost all Linux files management such as finding, auto-completion, etc, case-insensitive but its shell/Bash copy and move command 'cp', 'mv' to be case-sensitive?
0
votes
1answer
93 views

How to find files in subfolders from txt file and copy them?

I have a txt file that include only the names of files that are in different sub-folders, I'm trying to write a function that will find this files and copy them to specific folder. This is an example ...
2
votes
3answers
123 views

how to Copy and Delete files in Windows 10 drives from Ubuntu

I am using windows 10 and Ubuntu 18.04 on the same Laptop. I have mostly data stored in my windows 10 drives but now I am using Ubuntu often. I have access to windows drives but only I can read and ...
0
votes
1answer
46 views

Can I copy a complete drive using Ubuntu? [duplicate]

I am new to Ubuntu. As for Windows, can I copy or clone an entire drive, including the operating system, when using Ubuntu 18.04? Regards, Jerin
1
vote
1answer
46 views

Ubuntu 18.04 Copy contents of multiple directories to external server

I searched for a while and I couldn't find solution to what I want to do in Ubuntu. I have multiple directories that I want to transfer its content to external storage server and then delete them from ...
0
votes
0answers
29 views

Copy files to USB freezes sometimes

My Windows 10 was crashing a lot so I switched to Ubuntu last month. Everything works nicely except for one thing. When I try to copy files to my USB it freezes. It happens when I copy large files, I ...
0
votes
0answers
41 views

18.04 Issues when making duplicated drives

I have been successfully creating new SSD drives for use in the equiment manufactured by the company I work for using v 16.04 LTS, now that upgraded to v 18.04 the drives that are being created are ...
0
votes
2answers
932 views

Trouble with Copy/Paste to a desktop folder

Being brand new at Ubuntu, I cannot understand how to copy contents in a flash drive to a desktop folder I created. I can select the copy method on the flash drive but can't seem to make it go to the ...
0
votes
1answer
32 views

keeping a Directory backup/copy up-to-date

I am trying to make a "backuper script" to keep a copy of a directory up to date on a USB-drive. Basically every time I open my computer it run rsync -qrup dir/path backupKey/path. I want a copy ...
0
votes
1answer
37 views

Copy file that is been written

I have a file that is constantly been written and is getting to big. I need to copy the existing one to another name and at the same time create a new file with the same name so the process that is ...
0
votes
1answer
72 views

How do I copy files and return which files were copied?

How do I recursively copy all files in the current dir to the /filename dir and make sure it returns which files have been copied?
0
votes
1answer
36 views

Does canceling copying files process leave partially copied/uncopied files?

I managed to mount a corrupted encrypted hd using a bootable ubuntu usb stick and I was copying the files from it to an external disk. The process takes hours and hours and hours and hours and hours. ...
1
vote
0answers
103 views

Copy and Paste only working on second attempt

just wondering if anybody else is experiencing a weird issue I am able to replicate across multiple machines running Ubuntu 19.04 I have updated all machines to the latest repo packages, and this ...

1
2 3 4 5
7