Questions tagged [move]

The tag has no usage guidance.

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
2answers
787 views

find + xargs - copy/move files from one subdir to another

My folder structure is like this: /volume1 /photoTest /folderA /@eaDir /eaDir_tmp /folderB /@eaDir /eaDir_tmp /folder with space /@eaDir /eaDir_tmp ...
2
votes
0answers
689 views

Move lxc container to a different host

Is it possible to move a lxc container from one lxc host to a different one? Here are the specs of the machines: Current LXC host: Gentoo: Linux 3.7.10-gentoo #1 SMP x86_64 New LXC host: CentOS 6....
2
votes
1answer
649 views

expanding boot, moving LUKS root

GPT > Partition2 > LUKS > btrfs I need some additional space for my boot volume, so far I did: Shrink my btrfs volume by 250MB. btrfs resize -250M / Shrink the LUKS root volume cryptsetup ...
1
vote
0answers
82 views

Where can I find the .desktop files for the “Copy To” and “Move To” service menus for Dolphin file browser

I am using KDE Neon. I want to create modified versions of the "Move To" and "Copy To" services in the Dolphin file browser. I want to find the built-in services, copy their .desktop files, and edit ...
1
vote
0answers
204 views

How can I copy/move the same x files from one directory to another?

I have multiple directories with a few thousand files each. Each directory contains files with the same names, but with different extensions. I would like to move x files each from these sets of ...
1
vote
1answer
55 views

find matching file and change dirname path

I need to find a very efficient way of moving a file of matching -mtime from one directory tree to another directory, maintaining the same subdirectory path where it doesn't exist yet. eg. move /dirA/...
1
vote
1answer
94 views

how to track the time taken for a move operation from one folder to another in linux

how to track the time taken for a move operation from one folder to another in linux I have been performing a move operation like the sample below. I would like to know how much time in seconds does ...
1
vote
0answers
641 views

using left mouse button to move window can cause freeze (XFCE4/Ubuntu 15.10)

I use xfce4 under Ubuntu 15.10. Fairly often some action with my mouse causes the cursor to change into the closed hand icon and my session freezes in a useless state. When this happens the cursor ...
1
vote
0answers
51 views

Bulk move files back to where they came from

What happened I'm in quite a mess right now after having clamscan scan over my windows part of the system and move all found files (which apparently includes PUA's) to a directory on another drive. ...
1
vote
0answers
45 views

Will booting the system get affected if root partition moved, though boot partition is separate

I need to move the root partition to the right after shrinking it. I have separate boot partition as seen below. The free space I want to allocate to boot partition so as to increase it's size. I've ...
1
vote
0answers
1k views

Why is moving file within an ext4 partition so slow?

The short question is why is a move operation, moving within the same ext4 partition taking longer than a copy of the same files from a different drive? The longer description of the scenario: I ...
1
vote
0answers
454 views

Properly mount a windows share to move files on the mountpoint

This question resulted from a question of mine on stackexchange. I mount a windows share with mount -t cifs -o username=username,password=password,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=...
1
vote
2answers
638 views

Can't overwrite a file by moving another over it

I have file /some/foo which is a plain text file. I can edit it with vim and I can cat something else to it. But whenever I try to automate the editing process with sed, it says sed: cannot move '/...
0
votes
0answers
26 views

UbuntuDDE 20.04 on Dell File Manager does not have Move Files option

Is there a way to modify my files options in UbuntuDDE 20.04 so I do not need to have a second window open on screen to move the files? I have found that if I wish to move something from Downloads to ...
0
votes
2answers
37 views

Why ubuntu uses “move to trash” instead of delete?

Does anyone know why in the GUI of Ubuntu(and perhaps the other Linux distributions as well) use the term "move to trash" instead of delete? I want to know what was the historic event that leads to ...
0
votes
0answers
22 views

How does my shell know when the current working directory has been moved?

If I am in a directory /foo, and I move (from a different session) /foo to /bar. If I then go back to the session in /foo and run ls, the files are still there, and I can see new files if they are ...
0
votes
0answers
15 views

Command-line “editor-based” bulk renamer that supports taking a list of files?

There's a few command-line bulk rename utilities such as qmv that allow you to bulk rename files by: First you run qmv (or similar program) with some arguments to select which source files/folders ...
0
votes
2answers
49 views

How to verify that files in A folder are also in B folder

I use my synology DS1515+ and DSM 6.2.2. First of all, please refer to the picture as below; First, I download some video files. Examples of filenames are as above. And second step is that copying ...
0
votes
0answers
24 views

Find and Add timestamp to the filename prefix only to files in same Directory

I'm using the following script to find all the PDFs sitting in directory Dir1 to add the timestamp to the filename prefix and drop it in same Directory. Seems to be working well the only thing is if ...
0
votes
0answers
93 views

How to intercept mouse position as xbindkeys do with click?

I know xbindkeys can intercept mouse click events, like put a hook in mouse click. In the same way, I'm looking for a tool to hook the mouse position, to intercept a specific position, as X=0 or Y>...
0
votes
0answers
18 views

Why my scroll wheel in middle of mouse can't work?

tmux -V tmux 2.3 Open an vim in tmux,edit a long text. I find that my mouse cursor can't be move by left-click nor middle wheel in mouse,i scroll the wheel with my finger,the cursor can't move. I ...
0
votes
1answer
20 views

Ask what to do when dragging & dropping a file in file managers other than Dolphin

Dolphin file manager is showing a list of options when dragging & dropping a file (copy/move/create link). Can the same options be made available in other file managers?
0
votes
1answer
250 views

Flattening directory and renaming files incrementally (MacOS)

Looking to flatten the directory (with duplicate child file names) while renaming all files, keeping duplicates OR appending all file names with an incrementing number (incrementing # + name would be ...
0
votes
0answers
53 views

How do I --move— the contents of 1 folder (with subfolders) to another folder (with the same subfolder names as the source)?

I think this is best explained with an example. Example: /mnt/mystorage/source => folder1 => file11.txt => folder2 => file21.txt /mnt/mystorage/destination =&...
0
votes
1answer
31 views

Placing File Families into Folders

A large number of font files (2728 files) are flattened in to a single folder. I want to move all files belonging to the same font family into a folder where the folder name is the complete name of ...
0
votes
1answer
121 views

Move files in folders by list in file

I have a .txt file that has a list of folders: old_folder_path1,new_folder_path1 old_folder_path2,new_folder_path2 old_folder_path3,new_folder_path3 I would like to run a shell command that moves ...
0
votes
0answers
30 views

How to copy every N file when serialization is not consistent

I have a directory containing 101695 files ranging from img001.jpg to img101693.jpg and I want to move every 100th image to another directory. I have found some similar posts such as How to copy every ...
0
votes
1answer
45 views

Move Files Recursively but only if they are not open by another process

I want to modify the script text below, to change the file permissions, owner and move it, only if the file is not open by another process. cd /mnt/usbdrive/DVR sudo chown 777 -R /mnt/usbdrive sudo ...
0
votes
1answer
114 views

How to move physical disks content (rsnapshot content in there) to another physical disk?

Situation: simple linux system, with external removable usb media (rdx), single primary partition with ext4 filesystem on them for backups. Using some external usb disk media (rdx disks) for ...
0
votes
2answers
40 views

What's a convenient way to move files and subdirs “up a subdir” with possible name clash?

I've some files and directories within the directory /var/foo/bar/baz. Now, I want to move all of them up into /var/foo/bar, and get rid of baz. Easy, right? cd /var/foo/bar mv baz/* . rmdir baz (I'...
0
votes
0answers
86 views

How to move files to a folder per day

I have a folder that contains a lot of photos. I'd like to move them on a more practictal structure, with a folder per day. The date is extracted from the filename (e.g. ...
0
votes
1answer
47 views

Are there any shortcuts to jump up/down directly across the manually-typed lines of a bash terminal?

Consider that we write on terminal cat file0.csv, and then get 1000 lines of code. After that, we write cat file1.csv and then we get other 1000 lines of code. And so forth till cat file5.csv. ...
0
votes
1answer
179 views

I moved root partition by error

I'm on a VPS with CentOS 6.5 I was trying to install ASSP so by error i did this command mv -f /* /usr/share/assp and then I can't do anything when I try something like: [/]# dir -bash: /bin/ls: ...