由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - How to use files with names like "-123.txt"?
相关主题
a question about renaming.HELP: How to get rid of unwanted characters in file name
a question about renameA question about command time
how to handle *.pkg files?question about CVS
Solars questionHow to reunite the files?
is there a unix command named "tilderm"? how to uhow to recover deleted files
what is the command to gunzip/tar a .tar.gz fileIs there any software can D/L a whole directory?
how to get rid of the ^M in files?how to remove a file with the name of -2 ?
Is there any command which can mv multiple files问:direct files to trash but list file names
相关话题的讨论汇总
话题: files话题: names话题: use话题: like话题: them
进入Unix版参与讨论
1 (共1页)
h**q
发帖数: 3
1
I have some files named "-123.txt" in my directory. Now I can not access them
properly since commands like cp, mv, etc treat "-" as command line options.
Does any guru know how to rename these files so I can use them? Thanks in
advance!
h******a
发帖数: 198
2
mv ./-123.txt xxxx

【在 h**q 的大作中提到】
: I have some files named "-123.txt" in my directory. Now I can not access them
: properly since commands like cp, mv, etc treat "-" as command line options.
: Does any guru know how to rename these files so I can use them? Thanks in
: advance!

1 (共1页)
进入Unix版参与讨论
相关主题
问:direct files to trash but list file namesis there a unix command named "tilderm"? how to u
Any idea on batch renaming files?what is the command to gunzip/tar a .tar.gz file
再次急问: *.tgz 文件怎么解?how to get rid of the ^M in files?
双面打印Is there any command which can mv multiple files
a question about renaming.HELP: How to get rid of unwanted characters in file name
a question about renameA question about command time
how to handle *.pkg files?question about CVS
Solars questionHow to reunite the files?
相关话题的讨论汇总
话题: files话题: names话题: use话题: like话题: them