Questions tagged [copy]
The copy tag has no usage guidance.
394
questions
-1
votes
0
answers
26
views
Copying files to a SSD without problems
I am planning to buy a SSD external disk with some terabytes of capacity.
I want to copy some files, repos, code, documents etc that I have in my ubuntu machine
In the past, I vaguely remember that ...
2
votes
2
answers
482
views
Linux copy command with multiple options
I know this is probably a real simple question, but I want to copy newer files from one server directory to another and preserve the datestamp.
I've tried cp -p /source/records_added*.csv /dest/...
0
votes
0
answers
38
views
Copy and Paste Key Shortcuts
I have two Linux machines. On one machine, copy and paste is ctrl + c and ctrl + v. On the other machine, it is ctrl + w and ctrl + y. How can I change the general system setting to make them both ...
0
votes
1
answer
97
views
Find images recursively, copy, rename, and resize?
How can I find images recursively and copy them into their own directories with new names? For example:
folder
- subfolder1
- a.jpg
- subfolder2
- b.jpg
- subfolder3
- c.jpg
So I can get:
...
2
votes
2
answers
90
views
unusual behavior copying files to USB memory stick
I am attempting to copy about 188GB of files from my Ubuntu 22.04 HD onto a 1TB memory stick. The stick is writable by the system, in that about 50% of the files I wish to copy HAVE been copied each ...
0
votes
0
answers
72
views
How to copy an existing specific file in a directory into a newly created subdirectory from command prompt using shell script
I'm having a little issues trying to make a copy of a pre-existing file (specifically java) from the current directory to a subdirectory (and some copies to its subdirectory and so on depending on the ...
0
votes
0
answers
193
views
How to rip an audio CD in .wav format to .wav lossless but add track info
The most recommended Ubuntu audio CD ripper is Sound Juicer. However, Sound Juicer doesn't copy .WAV into .WAV. It copies to .OGG format and I worry that it is a lossy compressive copy.
The WAV ...
0
votes
0
answers
2k
views
Can't install Ubuntu 23.10.1 (freezed installation process)
Can't install Ubuntu 23.10.1. Installation process just freezed on "copying files". And I don't see any hdd activity at all (led is not blinking), so I think, that there is no any copying ...
0
votes
0
answers
20
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
190
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
59
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
70
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
36
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
249
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
92
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
46
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
505
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
153
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
38
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
627
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
79
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 ...
1
vote
1
answer
2k
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
901
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
100
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
111
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
40
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
282
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
937
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
79
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
337
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
1
answer
202
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
186
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
88
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
453
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
104
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
378
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
258
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
176
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
144
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
13k
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
632
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
679
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
1k
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
168
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
6k
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
256
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
882
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
909
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.