Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"cd --==verzeichnisname==--" funktioniert nicht [g
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
[AA]Snake
n00b
n00b


Joined: 10 Jul 2004
Posts: 7
Location: somewhere over the rainbow

PostPosted: Sun Jul 18, 2004 9:32 am    Post subject: "cd --==verzeichnisname==--" funktioniert nicht [g Reply with quote

ich kann mit 'cd' nicht in das verzeichnis '--==name==--' wechseln. er meint falsche option da er anscheinden das erste '-' als optionsindikator nimmt. hab schonmal bissl rumprobiert weil ich das selbe prob mit nem verzeichnis namens '=>name<=' hatte, dort hab ich das verzeichnis einfach in anführungszeichen gesetzt und dann gings also:

cd "=>name<="/

aber mit dem '--==name==--' funktioniert das nicht. und da ich die rechte dieses verzeichnis ändern möchte hab ich auch mal chmod probiert und das funtzt auch nicht, da sagt er:
chmod: option `--==name==--' is ambiguous

die verzeichnisse wurden damals unter Suse Linux angelegt auf ner ext2 partition und solln jetzt wieder in mein gentoo system rein, kernel 2.6.

Hat irgendwer ne idee wie ich jetzt an meine daten rankomm?


Last edited by [AA]Snake on Sun Jul 18, 2004 10:06 am; edited 1 time in total
Back to top
View user's profile Send private message
mani_
n00b
n00b


Joined: 17 Feb 2004
Posts: 8

PostPosted: Sun Jul 18, 2004 9:38 am    Post subject: Reply with quote

cd -- --==name==-- :D
Back to top
View user's profile Send private message
RealGeizt
l33t
l33t


Joined: 22 Apr 2003
Posts: 700

PostPosted: Sun Jul 18, 2004 9:39 am    Post subject: Reply with quote

was ist wenn du es versuchst mit absolutem pfad zu machen?
z.b.:
Code:
cd /hdb/--==name==--/


oder in das nächst untergeordnete verzeichnis und springst dann eins zurück?

Code:
cd /hdb/--==name==--/bla

Code:
cd ..


versuch mal chmod mit absolutem pfad zu machen wie ganz oben mit dem verzeichniswechsel...hab das alles selbst noch nicht probiert aber vielleicht funktioniert es ja :)
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Sun Jul 18, 2004 9:44 am    Post subject: Reply with quote

Scheiße, wenn man so 31337 ist, was?
_________________
42
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Sun Jul 18, 2004 9:53 am    Post subject: Reply with quote

übrigens: konqueror & co können auch mit so namen umgehen... dh: notfalls mit konqueror hinwechseln und umbenennen...
Back to top
View user's profile Send private message
[AA]Snake
n00b
n00b


Joined: 10 Jul 2004
Posts: 7
Location: somewhere over the rainbow

PostPosted: Sun Jul 18, 2004 9:54 am    Post subject: Reply with quote

@mani_
thx das funtzt aber nur solange kein lehrzeichen im verzeichnisname ist, ansonsten braucht man noch anführungszeichen

@RealGeizt
thx hat geholfen, also wenn man den kompletten pfad nimmt und alles in anführungszeichen schreibt was mit lehrzeichen oder sonderzeichen geschrieben ist funktionierts!
Beispiel:

cd /hd1/"=>Test1<="/"--==Test2==--"/"Test Test Test"/

funktioniert wenn man bei einem der 3 tests die anführungszeichen weglässt funktionierts nicht.

ich komm so auch direkt in die verzeichnisse und muss nicht in die unterverzeichnisse.

also nochmals danke für den tip :D

@Sas ja ne is klar :wink:

@hephaistos6
thx, aber ich nutze keine grafische benutzeroberfläche, mach alles über console :)


Last edited by [AA]Snake on Sun Jul 18, 2004 10:12 am; edited 1 time in total
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sun Jul 18, 2004 10:04 am    Post subject: Reply with quote

@Sas: Genau das dachte ich mir auch :lol:

@mani_, [AA]Snake: Außer mit "--" das Ende der Optionen anzukündigen müssen die Sonderzeichen gequoted werden oder das ganze in Anführungszeichen. Also
Code:
cd -- --\=\=name\=\=--/
oder
Code:
cd -- "--==name==--"
Back to top
View user's profile Send private message
Ragin
l33t
l33t


Joined: 14 Apr 2003
Posts: 776

PostPosted: Sun Jul 18, 2004 10:44 am    Post subject: Reply with quote

Am besten jedes Leerzeichen und nicht alphabetisches/numerische Zeichen mit einem \ vorn anstellen.
_________________
"Innerhalb der Computergemeinschaft lebt man nach der Grundregel, die Gegenwart sei ein Programmfehler, der in der nächsten Ausgabe behoben sein wird."

Clifford Stoll, amerik. Astrophysiker u. Computer- Pionier
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum