Results 1 to 7 of 7
I am not being able of moving these two files, currently on /mnt, to my /mnt/arquivos directory. It's a problem with the name of the two files, because when I ...
- 01-04-2007 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 13
Problem moving two files with MV
I am not being able of moving these two files, currently on /mnt, to my /mnt/arquivos directory. It's a problem with the name of the two files, because when I save them as "a.html" and "a_files", it work like a charm. However, when I save the files with their intended names, this happens.
Code:mv The\ BalusC\ Server\ \|\ Hardware\ \|\ CPU\ Types\ \|\ Intel\ \|\ Itanium_files/ The\ BalusC\ Server\ \|\ Hardware\ \|\ CPU\ Types\ \|\ Intel\ \|\ Itanium.html arquivos/ mv: cannot create directory `arquivos/The BalusC Server | Hardware | CPU Types | Intel | Itanium_files': Invalid argument mv: cannot create regular file `arquivos/The BalusC Server | Hardware | CPU Types | Intel | Itanium.html': Invalid argument
I used autocomplete, so I cannot imagine what's going wrong.
Thanks for the input.
- 01-04-2007 #2
Put quotes around it. So quote tab for autocomplete end quote.
- 01-08-2007 #3Just Joined!
- Join Date
- Aug 2005
- Posts
- 13
I tried this way, opened the quote, typed the first letter and then used the autocomplete feature, that already placed the ending quote in the end of the file. Finally, I typed the destination directory and this happened:
Code:[root@c925acac mnt]# mv "The BalusC Server | Hardware | CPU Types | Intel | Itanium_files"/ arquivos/ mv: cannot create directory `arquivos/The BalusC Server | Hardware | CPU Types | Intel | Itanium_files': Invalid argument
- 01-08-2007 #4
- 01-10-2007 #5Just Joined!
- Join Date
- Aug 2005
- Posts
- 13
But I am putting the quotes before the "arquivos" directory. I open the quote, type the first letter, and then I let mv to do the work and he already close the quote for me, then I type the destination directory.
- 01-10-2007 #6
Alright so you want the long filenamed folder to be inside of arquivos? Or do you want that to be renamed to arquivos?
- 02-13-2007 #7Just Joined!
- Join Date
- Aug 2005
- Posts
- 13
Sorry for only being able to reply now, I had problems with my internet connection and some other things.
Yes. I wanted the long filenamed folder to be inside of arquivos, and by now I already identified the problem. I can move the folder to any place that I want to, except to "arquivos" or any of its subfolders. The only reason for this has to be that "arquivos" is the folder that represents the windows partition. So I am moving a file from a Ext3 partition to vfat.
Anyone has some kind of experience with that ?


Reply With Quote
