Skip to main content

Questions tagged [mv]

mv is a Unix command that moves a file to a target location.

0 votes
0 answers
48 views

Context: Asus TM-AC1900 configured with Merlin's AsusWRT (Busybox). /jffs on an Asus router is a writable flash file system that allows you to store and run custom scripts and configurations that ...
gatorback's user avatar
  • 1,532
1 vote
0 answers
72 views

I have a very messy deep file hierarchy tree of files with duplicate names in different directories and possibly even duplicate files with different names. $ find mp4/ -type f | more mp4/._.DS_Store ...
Niklas Rosencrantz's user avatar
5 votes
6 answers
2k views

Try to run this mv -- "foldername...__" "foldername..." This will move folder foldername...__ under the folder foldername... instead of renaming it. Why? Note that foldername... ...
Estatistics's user avatar
6 votes
2 answers
187 views

Originally, mv(1) was a rename operation; it updated names in filesystems and did not copy files. More recently, a convenience feature was added, whereby if the source and target were on different ...
GraemeV's user avatar
  • 450
0 votes
1 answer
167 views

So I was moving some files, I meant: mv ./* ~/something But I typed: mv /* something Now I can't boot up my computer and I couldn't because me: ls output: -bash: /bin/ls: No such file or directory ...
Nobody Nobody's user avatar
1 vote
6 answers
408 views

I have a lot of webpages saved in my Download folder and I want to move all html files together with its folder (for every "NAME.html" exists "NAME_files/" folder). The big ...
Antonio's user avatar
  • 203
4 votes
2 answers
491 views

Say I have a large directory tree of large files on disc A. I backup that tree with rsync -a --delete /A /B. So far so good. Between backups there are some added files, some renamed ones, the usual. ...
dargaud's user avatar
  • 659
1 vote
1 answer
280 views

I have a bash shell script change_filename.sh containing the line of code: mv "dir\ 1/file1.txt" "dir\ 1/file2.txt" which does not change the name of file1.txt to file2.txt as ...
sjl26916091's user avatar
1 vote
1 answer
175 views

I am using Ubuntu 24.10 and have a directory containing files and subdirectories: main-dir file1 file2 file3 subdir1 file1-1 file1-2 subdir1-1 file1-1-1 ...
k314159's user avatar
  • 533
0 votes
1 answer
459 views

I'm new to Linux and did something stupid. I'm using Kali and after apt-get update and apt-get upgrade, I encountered some issues. The desktop items were missing and windows no longer had a "bar&...
amberiscool's user avatar
0 votes
1 answer
55 views

Being in ~/dir1, I wanted to move the file ~/dir1/subdir1/file1 into ~. I executed mv subdir1/file1 ... No error occured. ~/dir1/subdir1 is empty, but I cannot find the file file1. Not in ~ and not in ...
Niklas Netter's user avatar
0 votes
1 answer
94 views

I wanted to move my World file from my Terraria Server and used (I was currently in the .local directory) sudo mv share/ /terraria because I wanted to move the share folder into the terraria directory....
Mike Gretz's user avatar
0 votes
0 answers
98 views

BSD cp: -a Archive mode. Same as -RpP options. Preserves structure and attributes of files but not directory structure. -P No symbolic links are followed. This is the ...
jsx97's user avatar
  • 1,397
0 votes
1 answer
156 views

Tested in Bash and Zsh: copy nondot files | cp ~/dir1/* ~/dir2/ copy dot files | cp ~/dir1/.* ~/dir2/ copy both nondot and dot files | cp ~/dir1/{.,}* ~/dir2/ ...
jsx97's user avatar
  • 1,397
0 votes
0 answers
163 views

I got a case where I need to overwrite some file with another and noticed a very significant slowdown when using "mv -f" if the target already exists and is being read. More specifically, ...
Frederik's user avatar

15 30 50 per page
1
2 3 4 5
45