Questions tagged [copy]
The copy tag has no usage guidance.
358
questions
0
votes
2
answers
43
views
Moving Files and Folders to another folder recursively
I am trying to move files and folders from one directory to other. Both of the files has multiple subfolders and files.
From the reasearch I have made it seems that the answer should be something like,...
0
votes
0
answers
52
views
unable to copy files from ssd to hdd in ubuntu 20.04
I'm trying to copy media files like .mp3,.mp4, .mkv etc. from my ssd to hdd as to save time complexity of ssd but unable to do so. Everytime I try to copy or move files it shows me this error "...
0
votes
1
answer
58
views
How to paste text without formatting?
The only answer I could look online was to use Ctrl+Shift+V but that answer was almost a decade old and doesn't work anymore. I'm trying to copy text from the Evince PDF reader into other applications ...
0
votes
0
answers
42
views
Why I can't paste anything to the Desktop? [duplicate]
I use Focal Fossa with Gnome and I have a strange problem with the Desktop.
When I try to drag and drop any files from a library it doesn't allow me to drop it to the Desktop. Copy and Paste doesn't ...
1
vote
1
answer
42
views
Copy a list of files with absolute paths and wildcards preserving the source path in the destination
I want to copy files listed in a text file with absolute paths to another folder preserving the folder tree in the destination.
in2.txt:
//PMDA-SO5632/data/vision_6830/image_data/top_surface/nok/...
0
votes
1
answer
40
views
Copy and rename specific file sequentially from a pm2 list running apps
I want to make a bash to copy a specific file (app8000.js) in the same folder, and rename it sequentially accordingly a list of already running apps at my pm2 (app8001.js, app8002.js, app8003.js) then ...
0
votes
1
answer
101
views
I can't copy-paste or cut-paste
I can't copy-paste or cut-paste any file from desktop,folder etc. to again desktop,folder etc. Can you help me ?
0
votes
1
answer
23
views
Looking for simple backup program
I am looking for a simple backup program that copies just files to a second computer. I do not want cloud storage or timemachine capabilities. Just want something that will check a folder for new ...
2
votes
1
answer
155
views
create clone with dd to another drive
So I want to backup what I have done to Raspian using my Ubuntu laptop and followed the advice at the below link. so using this command...
sudo dd if=/dev/mmcblk0 of=~/sd-card-copy.img bs=1M status=...
0
votes
0
answers
70
views
ubuntu 20.04.3 - error "invalid filename" while copying to external HD
Why won't Ubuntu 20.04.3 LTS copy all files to external HD?
My external drive has been used as backup drive with Ubuntu 18..04 LTS for long time without any problems. But when I recently installed 20....
1
vote
1
answer
65
views
Gio copy all files from shared folder
I want to copy all files from shared windows folder to my local folder In Ubuntu. I am using gio and following row:
gio copy smb://computerName/FoldName/* ~/localFolder/
but the result is gio: smb://....
0
votes
0
answers
32
views
Ubuntu Server - Cannot copy file [duplicate]
Why I can't copy "Change Your Life's Direction" book? How should I be copying this file?
Please help. I'm a beginner.
-2
votes
1
answer
102
views
Copying files to a USB flash drive sometimes does not complete [closed]
Sometimes when I copy a file from my laptop to a USB flash drive, the progress goes to just near 100% but remains at that stage and does not end.
I have this problem in Ubuntu 21.10 and in previous ...
0
votes
0
answers
26
views
Copy new created file to annother folder
I have folder A where a new pdf file is created automatically at irregular time occurrence from an external process. This is my archive folder. It should remain untouched. I need to make a copy of ...
2
votes
1
answer
175
views
I lost the Copy & Paste Function in Ubuntu 20.04 LTS
Noticed something a bit strange several weeks ago when I tried to Copy & Paste something off the desktop. I download items off the Internet to my desktop then use Copy & Paste into an ...
0
votes
0
answers
52
views
Copying files from Windows to Ubuntu via USB gives permissions or rights issues
Copying from Windows 10 -> Ubuntu LTS 20.04
I want to use USB because the Ubuntu box is to be secure and not access any resources on the LAN nor have any online accounts.
I am running bitlocker on ...
0
votes
1
answer
35
views
Cant copy from my local machine to my online server even as a root user
I am trying to copy a folder as a root user from my local machine to my server using the command
sudo scp -r simple-app.zip james@ip:/home/jobs
But I keep getting permission denied every time. And ...
-4
votes
1
answer
569
views
When using Ubuntu live CD, files and folders cannot be copied or moved due to permissions
I want to use an Ubuntu live CD and copy a folder between my two Windows hard disks.
However, I get an error saying that I don't have permission to do it.
How can I do this?
0
votes
1
answer
74
views
Copy files recursively with directory structure from source server to Target server
I am trying to copy the files modified from specific date to current date from Source server to target server with same directory structure.
I have created the script for copying files from Source ...
0
votes
1
answer
22
views
Find files modified between 2 dates from Source directory(Recursively) and copy it into the Target directory with same directory structure
I am trying to copy the files from source to Target folder which has been modified between 2 dates,
#!/usr/bin/ksh
source=/home/Amal/DELTA/SOURCE
target=/home/Amal/DELTA/TARGET
cd $source
find ./ -...
0
votes
0
answers
48
views
Not able to copy files on SD card
I am not able to copy/move files on SD card, the button is not activ.I don't know why I can't now, whit some time ago was no problem.I tryed to do this using the terminal, the code and error was this:
...
4
votes
1
answer
205
views
Copying files and folders, such that access rights come from umask, like for new files and directories
How can I copy files to some destination folder such that
Access rights are derived from umask, i.e. the copied files and folders should behave with this respect as if they have been newly created. - ...
0
votes
1
answer
36
views
Can we copy a sub directory to another sub directory?
I have to copy wordpress from the give path to htcdocs directory :-/var/www/html/wordpress and I have to copy this wordpress to /opt/lampp/htcdocs .
Direct copy paste is not allowed. I tried different ...
0
votes
1
answer
30
views
rsync or cp for coping debs ans settings
Hi there I've written a script to backup my cache and etc directory. Just trying to decided whether or not to use cp or rsync. It's important that all files are copied with permissions preserved.
0
votes
1
answer
55
views
Ubuntu Permission Change Error [closed]
I Recently Installed Ubuntu Mate
And Used Ubuntu As Desktop Environment
I've Faced A Problem OF Copying/Creating A new Dir
I've used The Both Of
sudo mount -o remount, rw
chmod
to Change The rw ...
0
votes
0
answers
25
views
How to copy a folder recursively to a share?
I am trying to copy a folder recursively:
cp -r build/. '\\qum-oc2-01\rw\stage\Web01\Uploads\cms\'
I am getting the following error:
cp: cannot overwrite directory '\\qum-oc2-01\rw\stage\Web01\...
0
votes
1
answer
112
views
Copying files from the terminal with confirmation message before copying each file
I want to copy files from one folder to another, but I want to make the terminal ask for confirmation of copying files before copying each file. Is there any way?
I know there is cp -i but that only ...
0
votes
0
answers
46
views
How do I get the words I copied yesterday in ubuntu
I use copyQ to capture the words I copy and paste into ubuntu, but I'm trying to find a word I copied and pasted yesterday but I can't find it in the copyQ interface, is there a way to capture ...
0
votes
1
answer
110
views
How do I copy my Windows 7 derived files off my USB to Ubuntu?
This seems to be a newbie question but I can't seem to find any specific answers.
I am (finally) getting rid of my Windows 7 machine but need to copy all the data files off it to my Ubuntu.
I ...
0
votes
1
answer
43
views
How to avoid race condition when mounting, copying files into, and umounting images
This script creates ten image files and copy over file(s) to them.
#!/bin/bash
# script to create multiple floppy images for installing hwp30
#+on virtualbox.
# umount image in case mounted
sudo ...
0
votes
1
answer
581
views
How to copy multiple files to a new folder in a new path in one command?
[These are the files I want to copy over][1]
Example command I have tried but does not work:
cp permanent_waiver_* /existingpath/newfolder1/newfolder2
This would give me error like no such file or ...
1
vote
1
answer
832
views
Bash script for copying files to subdirectories named after the file´s owner
I need to write a bash script which copies files from a folder to subfolders named after the files. For example, there is a common directory "For all", inside there are various files and ...
0
votes
2
answers
69
views
How to copy files into a new file
How to copy files from one file to another file that has contents I want to keep? In other words, I want the contents of file1 to go in file2 but the info in file1 to be added to the existing stuff in ...
-1
votes
1
answer
57
views
how to copy a file to another file in separate directories?
So I have created to vm's with the ubuntu 16.04 version. I'm trying to copy my public key into the authorized_keys file, how I have done this is with the command cp id_rsa.pub home/vagrant/.ssh/ I ...
0
votes
1
answer
41
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
2
answers
3k
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 ...
0
votes
0
answers
391
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
1
answer
171
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
1
answer
81
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
1
answer
282
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
1
answer
36
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 ...
3
votes
2
answers
3k
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
3
answers
125
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
1
answer
102
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
1
answer
527
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
2
answers
544
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
1
answer
518
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
1
answer
72
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
1
answer
68
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....
1
vote
0
answers
34
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 ...