Questions tagged [copy]
The copy tag has no usage guidance.
387
questions
0
votes
0
answers
9
views
Copying a file from an HD with bad sectors
I am trying to copy various files from one HD to another.
on some files after several minutes (too many, say 5 minutes for an 11Mb file) I get this error and the file is not copied.
cp: error reading '...
-2
votes
1
answer
38
views
how to copy files with some pattern from multiple directories to a single directory?
I have a directory structure
base
|_folder_34231
| |_23491_this_I_want.csv
| |_23491_this_I_dont_want.csv
| |_some_other_things_I_dont_need
| |...
0
votes
0
answers
28
views
How to copy NTFS files that have a dot at the end of the filename
I am using MATE and Caja. I want to copy files from an NTFS drive to another NTFS drive. When the copying process reaches a file which has a dot as the last character in the name (e.g. ABCD.) then I ...
0
votes
2
answers
45
views
Copy files from one folder to another
Rather new at Ubuntu so help would be greatly appreciated.
I need time copy basically this media/directoryA/directoryB/any file based on a certain .ext
Then I need to copy that back to music/directory ...
1
vote
0
answers
14
views
Clipboard empty after computer wakes up from sleep (Ubuntu 20.04)
I copy something to the clipboard and I close my laptop. When I open it and log in, the clipboard is empty.
Is this intended? I have muscle memoy from Windows that the computer should remember what ...
1
vote
1
answer
82
views
Auto copy from any USB Stick to another directory
with the following instruction I have unfortunately my problems:
How can I automatically copy the content of a usb (flash) drive to another directory?
I want that any USB stick/USB hard disk, which is ...
0
votes
0
answers
49
views
How to copy files from root directory of a failed ubuntu drive
My Ubuntu Desktop 22.04 system is stuck booting into emergency mode. So I thought I would backup my files and data and reinstall everything from scratch.
I plugged my SSD and Hard drive to my Windows ...
0
votes
1
answer
27
views
Backup files : log for keeping track of successfully copied files and errors
I am using Ubuntu 20.04 and I want to fresh install Ubuntu 22.04.
I have one partition and I want to copy the files that I have on my laptop on an external ssd.
While copying some files, I encountered ...
-1
votes
1
answer
161
views
How to copy ONLY parent folder with find and CP?
Why does the following command copy the DCIM folder and it's subfolders and files..I just want the DCIM folder to be copied.
find ./"DCIM" -name "DCIM" -maxdepth 0 -type d -exec cp ...
0
votes
1
answer
37
views
How can I replicate a given configuration on different computers?
Suppose I have freshly installed the same version of Ubuntu and the same applications on two different computers. And I have updated both installations to the same point in time. I then spent much ...
0
votes
1
answer
37
views
On dd utility detail
Apologize if it'd be too meticulous getting to know few Linux works but cant help
How is dd utility copying in some HW / SW condition at least here, copied 3.5 GB onto Usb disk with OS give freed 7 GB ...
0
votes
2
answers
153
views
Paste and Copy, how do I configure Ubuntu 22.04 to use ctrl_c, ctrl_v for copying en pasting in Libre office or other apps? [closed]
How do I configure Ubuntu 22.04 to use ctrl_c, ctrl_v for copying en pasting in Libre office or other apps?
0
votes
2
answers
42
views
I want to copy my document directory, complete with sub-directories plus contents, from an old drive across to a new drive
I tried creating symlinks to the source and target drives using:
sudo ln -s /media/phil/4A05-B4F6 /olddisc
sudo ln -s /media/phil/3117e488-bf89-426e-a606-55e8397cf1ee /pcdisc
I changed the directory ...
0
votes
0
answers
24
views
phone USB connection stopped working - how to make it work again?
I sync my Samsung SE20 phone with my Kubuntu PC over USB, mainly to copy photo's.
Recently this stopped working. I get an error message indicating the USB device is not available (and yes, I do ...
0
votes
1
answer
240
views
How to best copy large folders?
I want to copy 1 TB of data from 1 HDD to another via Terminal.
What is the best approach to this?
So far, i've used the following, but I've no idea, whether it actually makes progress, or if it just ...
0
votes
1
answer
508
views
Can't paste files into a Windows directory while using Ubuntu 22.04
I can't copy files or folders from Ubuntu 22.04 to a Windows partition [D:]
As you noticed I was able to do that, but I reinstalled Ubuntu on an SSD instead of HDD, maybe because the first time I ...
0
votes
0
answers
59
views
how to copy text from a pop up window (gnome)
I'm coding in electron and when i get an error, it shows it in a pop up window. But i cannot copy the error. Does anyone know a solution? I tried to use Gimagereader to copy text from a screenshot but ...
1
vote
0
answers
83
views
Copy selected files from one folder, retaining the directory structure
I want to copy all the JPG files from one folder to another and it works.
find /path/from/dirA/ -name "*.JPG" -exec cp "{}" /path/to/dirB \;
To improve on the above, I would like ...
0
votes
0
answers
37
views
File is not being copied to a valid directory
Ubuntu_Documents.zip is not being copied to Local_Backup_Dir?
/home/andy/Backup/Ubuntu_Mate_20.04/ does exist.
Other files are being copied to that directory.
Can someone offer some things I can check?...
2
votes
1
answer
153
views
How can I copy text by simply highlighting it (jammy)?
One of the great features of Linux for me was always that I can copy text to the clipboard by simply highlighting it. This worked well for me under Debian and then Ubuntu for a long time.
Under Ubuntu ...
1
vote
2
answers
450
views
Automatically copy incoming files to multiple folders then remove the source files [duplicate]
I would like to know automated script for copying source files from directory to multiple directories and after copying files remove the source files from the source directory
We have one folder where ...
0
votes
2
answers
57
views
How to copy files that have same name as the folder they are in?
There are files that have a pattern like name/name.ext inside subdirectories. There are many files with the same extension inside the subdirectories but I want to copy only the files which have ...
0
votes
1
answer
85
views
How do I make sure my file is a video file?
How can I copy video files from a directory and rest assured that the file I copied was a video file and not something else with a video extension like ".mp4"?
0
votes
0
answers
125
views
ubuntu 22.04 files gui fails randomly in drag and drop copying to external HD
I often copy multiple files at once from directories on my internal HD to several external HDs, and since the file names are heterogeneous, I generally just use the files gui with drag and drop rather ...
0
votes
1
answer
61
views
Is There A File Manager That Preserves the File Date When Copying Over Network?
I don't know why I just noticed this, it should have been obvious earlier. When I copy files from my desktop or virtual machine to my server via file manager the original file date is not preserved. ...
0
votes
1
answer
60
views
I want to rename files then copy them to one folder
I have hundreds of files called "report.json" inside folders
each folder contains files and subfolders
for example, I have a folder called 1 and inside this folder, I have another other ...
0
votes
1
answer
170
views
find and copy directories
I have this directory structure:
.../current folder/Bx/Px/
where x are different numbers, like x=1, 2, 3... and so on.
I want to find directories P* in the current folder and then copy all of them ...
0
votes
0
answers
94
views
Ubuntu 20.04 Copy file to folder with UI?
I need to copy a file from the desktop to a folder with the graphical user interface, not the command line.
When I drag and drop the system does nothing.
Is there a security issue? What is the process?...
0
votes
1
answer
245
views
How to copy a .img file into the Z:drive of Dosbox?
While trying to run an .img file in DosBox on Ubuntu 22.04, I was wondering: How do I copy a example.img file from Ubuntu filepath: /home/username/some_img.img to: Z:/some_dir on dosbox? (Such that I ...
0
votes
1
answer
199
views
rsync do not copying files from remote host
I want to copy all .txt files from remote test/ directory to my local directory, but id didn't work
rsync --include="*.txt" --checksum --verbose --stats [email protected]:test ./
the output ...
0
votes
0
answers
136
views
Paste Shortcut not working anywhere on Ubuntu 20.04
I have this weird issue every since installing Ubuntu. The shortcut for copy (Ctrl + C) works but the shortcut for paste (Ctrl + V) doesn't. This issue is across applications and browsers. However, ...
1
vote
1
answer
109
views
Copying folder with ignore list throws error when path is in variable
I just want to copy a folder by omitting some content.
So that works: copy /stuff dir and omit foo and moo folders inside of it
cp -r ./myDir/stuff/!(foo|moo) "$destination"
and that doesn'...
2
votes
2
answers
4k
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
571
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
538
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
775
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
128
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 ...
2
votes
1
answer
5k
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
198
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
707
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=...
1
vote
1
answer
671
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.
0
votes
1
answer
861
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
33
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
814
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
1
answer
41
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
2k
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
611
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
31
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 ./ -...