Have had hidden/interrupted folder.
It is on a NTFS-partition I use for OS and Bootcamp.
I think that the problem is a HFS+ problem.
I happened with all the folder which had a slash "/" in their folder name.
So for example I had the folder "test/rand".
Recently it disappeared from finder. In windows I can see the folder as "test:rand",
but it doesn't allow me to open/rename it. It gives the error that the folder location can not be located.
I can see it only within terminal using
and has the name "test:rand" But i can't access the folder via mv or cp. It gives me a 'no such file or directory'
If i write the folders name half way and let it extend using 'tab', it gives me "test\:rand". using then the command mv shows following:
So, what It does, It finds the folder and extends it to "test\:rand" but then it says that it doesn't exist but without backslash: "test:rand"
if i try mv using "test:rand"
it gives me the same error of not finding such file or directory
how can i access to this folder? it exists, but not, seems
Well OS X allows you to do so.
I just created two folders with a "/" in the name:
1) on the Mac Os Extended Format partition
2) on the NTFS shared partition
Both work fine on OSX.
(The same way I created the strange folder which is missing now.)
Booting from windwos via bootacmp:
1) Is invisible
2) Changed the "/" with a weird symbol, similar to this: (˙ DOT ABOVE), but the folder works.
Similar to my missing folder on OSX. I can see it on windows with a ":" instead of the "/" but it is not useable, because the folder information is missing. So I can see it in the terminal, but can't access to it. I guess OSX 10.9 has something to do with this...
Well OS X allows you to do so.
I just created two folders with a "/" in the name:
1) on the Mac Os Extended Format partition
2) on the NTFS shared partition
Both work fine on OSX.
That is very, very, very weird... Folders with / in them are prohibited by UNIX and OSX is supposed to be a UNIX -- I can only guess they did this for compatibility with some of Apple's really ancient filesystems where that was valid.
But it is not valid to put / inside NTFS. You really shouldn't do that.
Maybe a disk scan it renamed it to some untypable characters which might be accessible like this:
If that prints the folder name and only the folder name, try this:
i know now i should not do that
but OSX allowed it to me..so i had no doubts that moment...
the problem is, that i have about 10 folders like this now...
if i use find with . it finds a lot of directories...also from the operating system folders...
so i tried to search in area I know the folder lies:
it finds nothing, but it knows the folder test:rand
this gives me a
and terminal stops kind of
Editing your code in Microsoft Word has changed all your ordinary ' quotes into nasty smart quotes:
But there may be a better way anyway.
Those numbers are inodes. find can identify a file or folder based on that and feed its name into mv hopefully including any untypable characters ended up in it.
And remember, use single quotes ' , not smart-quotes from MS Word.
i think i have got a problem now,
after trying to fix the folders, i restarted in windows (to see if someting happend there) and it did some harddisk check at startup and deleted the entries of the folders with untypable characters(i think)...
in windows then they disappeared even as not locatable folders.
same at OSX, I don't find them anymore via terminal....
Hi,
I need to write a script the has to copy the files from folders and subfolders to the same folder structure located in another location.
Ex:
mainfolder1
file1,file2,file3 subfolder1(file1,etc) subfolder2(file1,etc) to another folder location of same folder structure.
rsync is not... (7 Replies)
I had to stop a pigz (parallel gzip) compression before it completed. Is the original uncompressed file changed/corrupted?
I was under the impression that the original file is not changed during compression, though it is deleted if the compression is successful. (1 Reply)
I have used the arecord command like this
arecord -d 1 test.wav
It is keep on waiting. I need to manually interrupt it by ctrl-c. Why it is not interrupting after one second?
The arecord version which I am using is :
arecord: version 1.0.23 by Jaroslav Kysela (3 Replies)
Hello all! I am trying to create a script that will copy files from one location, to another but only folders that are filled with thumbnails to an exact directory replica in the second location. For example:
/images/2012/01/19/Event/Photographer/thumbnails
to
... (4 Replies)
I am starting to accumulate a few scripts that I working on to replace operational scripts and to have a few for my personal usage. I am not an admin, just an operator.
They are currently located inside the /tmp folder. I know they should not be there but since we have no system admin (someone... (4 Replies)
Hello,
Is it possible to make a file manager use different "colored folders" when browsing specific directories?
For example, if I open a gnome file manager and browse my windows share at, smb://192.168.1.101/z/ , can I make those folders appear green?
And when I open another instance of... (0 Replies)
Dear experts,
I have a local computer and remote computer (only sftp accessed).
I want to delete files x and y in both local and remote computer using the following automated script:
sftp $remote > /dev/null < mdel.file
the file mdel.file has been pre-created, and its content is
cd... (2 Replies)