Questions tagged [file-copy]
Questions regarding copying files from one place to another
701 questions
0 votes
2 answers
108 views
True USB Thumb Drive Write Progress (Beyond Cache Lies) for Immediate Safe Ejection After Completion
In Debian 12, is there a method to see true progress indication when writing large files (e.g., ISOs >4GB) to a slow ventoy USB thumb drive, instead of a lying progress bar (rsync --progress/Nemo) ...
3 votes
2 answers
290 views
How to preserve creation time when copying [duplicate]
I want to preserve Access, Modify and Birth timestamps when copying files. I tried the following flags. rsync --atimes --times --crtimes --archive However I get an error that crtimes is not supported....
5 votes
4 answers
536 views
Creating n folders with equal number of files from a large folder with all files
I have a large folder of data files, which I want to copy into subfolders to make a specified number of batches. Right now I count how many files there are and use that to make ranges, like so: cd /...
2 votes
0 answers
96 views
How can I find multiple duplicates of media files,sort, backup them and delete the rest?
I have a 4 TB hard drive containing pictures, sounds, and videos from the last 15 years. These files were copied onto this drive from various sources, including hard drives, cameras, phones, CD-ROMs, ...
0 votes
2 answers
85 views
how to copy a HD to another if the CPU is freezing after a few GB?
how to copy a HD to another if the CPU is freezing after a few GB ? I had to copy w11 of a friend notebook from a 128GB nvme to a 1TB nvme. I put nvne128gb in a usb adapter and the nvme1TB inside the ...
0 votes
1 answer
85 views
Is there a tool to "recursively" move/rename a directory (with conflicts/merging)?
Imagine I want to move (rename) a directory tree /var/lib/postgres/data to /var/lib/postgres/data.old: /var/lib/postgres └── data ├── base │ ├── 16390 │ │ └── <...> │ └── ...
0 votes
0 answers
52 views
Does nautilus warn before starting copy/move of files into ext4 partition which is too small?
As a user with non root privileges, when copy/moving a bounch of folders and files, in one batch, from some device into another different partition which is ext4 and too small (space allocated to user)...
0 votes
2 answers
155 views
"File too large" when copying 8GB file onto 30GB Apple device (USB stick unlabeled)
I have this file on disk: $ ls -lh /path/to/some.mkv -rwxr-xr-x 1 enrico enrico 7.4G Dec 17 18:54 /path/to/some.mkv so it's less than 8 gigabytes, but when I try to copy it on a 30GiB flash drive, I ...
1 vote
1 answer
86 views
Is there a built-in way to copy a file from current directory to previous directory? [duplicate]
My pwd is /long_path/lots/of/subs/waydeep/. If I cd -, it will return me to /lastdirectory/long_pathway/very_deep/. Is there a shortcut terminal/cli command to copy file1.ex from the current working ...
0 votes
0 answers
26 views
Backup files only that are newer than a specific date? [duplicate]
I have made a backup B1 on my external hard drive on date D. This hard drive is now in a different location (not at my house). Now I want to make a backup B2 on another external drive, but only of ...
0 votes
0 answers
73 views
How can I combine multiple files into a single larger file on a non-virtual filesystem?
Is there any filesystem where I can say map file1, file2, file3 and file4 together to file1234? file1 is 100M file2 is 100M file3 is 100M file4 is 100M ... and file1234 will then be 400M, and it is ...
1 vote
1 answer
167 views
How to copy/rsync? old home folder from a full timeshift snapshot with original dates? possible? how?
I have done one (whole disk, including home folder, even root folder) timeshift snapshot yesterday quickly, expecting an SSD failure soon. Well I did not expect it so soon, it happened today, SSD ...
0 votes
1 answer
1k views
Resolving "Invalid argument (22)" error in Rsync when syncing large datasets
I am using rsync to sync around ~2TB of data. I get the following errors in the log file: rsync: [receiver] mkstemp "/mnt/sd25-4tb-bkp4-mnt4/tns-maindatads-smb/tns-maindatads-smb/main-data-subds-...
0 votes
1 answer
2k views
How to reach optimal speeds with rsync?
I am using rsync to sync around ~2TB of data to a mechanical HDD-5400RPM. It's taking way too long. How can I improve the sync and check speeds to get as close as possible to maximum/optimal? Here is ...
0 votes
2 answers
187 views
Preserving file extensions when renaming duplicate files with rsync
I have multiple directories whose contents overlap. Sometimes the files are exactly the same, sometimes the names are the same and the contents differ and sometimes files with the same name have ...