我正在运行Mac Lion 10.7。我使用终端执行以下操作:
svn checkout http://android-log-collector.googlecode.com/svn/trunk/ android-log-collector-read-only
一切似乎都正确结帐:
A android-log-collector-read-only/android-log-collector
A android-log-collector-read-only/android-log-collector/.classpath
A android-log-collector-read-only/android-log-collector/project.properties
A android-log-collector-read-only/android-log-collector/assets
A android-log-collector-read-only/android-log-collector/.project
A android-log-collector-read-only/android-log-collector/AndroidManifest.xml
A android-log-collector-read-only/android-log-collector/src
A android-log-collector-read-only/android-log-collector/res
A android-log-collector-read-only/android-log-collector/res/values
A android-log-collector-read-only/android-log-collector/res/values/strings.xml
A android-log-collector-read-only/android-log-collector/res/drawable
A android-log-collector-read-only/android-log-collector/res/drawable/launcher_icon.png
A android-log-collector-read-only/android-log-collector/res/drawable-hdpi
A android-log-collector-read-only/android-log-collector/res/drawable-hdpi/launcher_icon.png
A android-log-collector-read-only/android-log-collector/res/drawable-ldpi
A android-log-collector-read-only/android-log-collector/res/drawable-ldpi/launcher_icon.png
A android-log-collector-read-only/android-log-collector/res/drawable-mdpi
A android-log-collector-read-only/android-log-collector/res/drawable-mdpi/launcher_icon.png
A android-log-collector-read-only/android-log-collector/res/drawable-xhdpi
A android-log-collector-read-only/android-log-collector/res/drawable-xhdpi/launcher_icon.png
A android-log-collector-read-only/android-log-collector/res/layout
A android-log-collector-read-only/android-log-collector-usage
A android-log-collector-read-only/android-log-collector-usage/.classpath
A android-log-collector-read-only/android-log-collector-usage/project.properties
A android-log-collector-read-only/android-log-collector-usage/assets
A android-log-collector-read-only/android-log-collector-usage/.project
A android-log-collector-read-only/android-log-collector-usage/AndroidManifest.xml
A android-log-collector-read-only/android-log-collector-usage/src
A android-log-collector-read-only/android-log-collector-usage/src/com
A android-log-collector-read-only/android-log-collector-usage/src/com/xtralogic
A android-log-collector-read-only/android-log-collector-usage/src/com/xtralogic/android
A android-log-collector-read-only/android-log-collector-usage/src/com/xtralogic/android/logcollector
A android-log-collector-read-only/android-log-collector-usage/src/com/xtralogic/android/logcollector/usage
A android-log-collector-read-only/android-log-collector-usage/src/com/xtralogic/android/logcollector/usage/Main.java
A android-log-collector-read-only/android-log-collector-usage/res
A android-log-collector-read-only/android-log-collector-usage/res/values
A android-log-collector-read-only/android-log-collector-usage/res/values/strings.xml
A android-log-collector-read-only/android-log-collector-usage/res/drawable
A android-log-collector-read-only/android-log-collector-usage/res/drawable/icon.png
A android-log-collector-read-only/android-log-collector-usage/res/drawable-hdpi
A android-log-collector-read-only/android-log-collector-usage/res/drawable-ldpi
A android-log-collector-read-only/android-log-collector-usage/res/drawable-mdpi
A android-log-collector-read-only/android-log-collector-usage/res/drawable-xhdpi
A android-log-collector-read-only/android-log-collector-usage/res/layout
A android-log-collector-read-only/android-log-collector-usage/res/layout/main.xml
A android-log-collector-read-only/android-log-collector-lib
A android-log-collector-read-only/android-log-collector-lib/.classpath
A android-log-collector-read-only/android-log-collector-lib/project.properties
A android-log-collector-read-only/android-log-collector-lib/assets
A android-log-collector-read-only/android-log-collector-lib/.project
A android-log-collector-read-only/android-log-collector-lib/proguard-project.txt
A android-log-collector-read-only/android-log-collector-lib/AndroidManifest.xml
A android-log-collector-read-only/android-log-collector-lib/src
A android-log-collector-read-only/android-log-collector-lib/src/com
A android-log-collector-read-only/android-log-collector-lib/src/com/xtralogic
A android-log-collector-read-only/android-log-collector-lib/src/com/xtralogic/android
A android-log-collector-read-only/android-log-collector-lib/src/com/xtralogic/android/logcollector
A android-log-collector-read-only/android-log-collector-lib/src/com/xtralogic/android/logcollector/lib
A android-log-collector-read-only/android-log-collector-lib/src/com/xtralogic/android/logcollector/lib/SendLogActivity.java
A android-log-collector-read-only/android-log-collector-lib/libs
A android-log-collector-read-only/android-log-collector-lib/libs/android-support-v4.jar
A android-log-collector-read-only/android-log-collector-lib/res
A android-log-collector-read-only/android-log-collector-lib/res/values
A android-log-collector-read-only/android-log-collector-lib/res/values/strings.xml
A android-log-collector-read-only/android-log-collector-lib/res/drawable-hdpi
A android-log-collector-read-only/android-log-collector-lib/res/drawable-hdpi/ic_launcher.png
A android-log-collector-read-only/android-log-collector-lib/res/drawable-hdpi/ic_action_search.png
A android-log-collector-read-only/android-log-collector-lib/res/drawable-ldpi
A android-log-collector-read-only/android-log-collector-lib/res/drawable-mdpi
A android-log-collector-read-only/android-log-collector-lib/res/drawable-mdpi/ic_launcher.png
A android-log-collector-read-only/android-log-collector-lib/res/drawable-mdpi/ic_action_search.png
A android-log-collector-read-only/android-log-collector-lib/res/drawable-xhdpi
A android-log-collector-read-only/android-log-collector-lib/res/drawable-xhdpi/ic_launcher.png
A android-log-collector-read-only/android-log-collector-lib/res/drawable-xhdpi/ic_action_search.png
A android-log-collector-read-only/android-log-collector-lib/res/layout
A android-log-collector-read-only/android-log-collector-lib/build.xml
但我找不到文件。
答案 0 :(得分:1)
它已将文件签出到您当前的工作目录,因此在终端中键入“ls”应显示“android-log-collector-read-only /”目录。要弄清楚你的位置,请使用pwd命令
A
答案 1 :(得分:0)
您是否对命令行shell工具缺乏经验?如果是这样,Google for Unix shell教程。
我不确定Lion,但是在Mountain Lion上,我的Mac最初被配置为隐藏我的主目录 - / Users / mike for me - 而是直接指向我的Documents文件夹 - 〜/ Users / mike /文件。
但是当Unix shell启动时 - 默认情况下在Mac OS X上进行bash - 它会在你的主目录中启动。这意味着默认情况下,Finder不会显示它。
有几种方法可以解决它。一种方法是使用终端中的“cd” - Change Directory - 命令将当前目录设置为Documents:
$ cd Documents
$ svn checkout ...
您现在可以在文档文件夹中找到已签出的文件夹。
或者,使用Apple菜单右侧Finder菜单下的Finder首选项,将您的主目录添加到Finder窗口左上角的文件夹列表中。您还可以设置Finder,以便默认情况下,新窗口显示您的主目录而不是Documents文件夹。
我发现这个强制的Documents文件夹非常烦人,直到我学会了如何设置首选项。但典型的Mac用户是新手,他们不知道如何组织他们的文件和文件夹。多年来我一直在努力教导我的母亲如何导航Mac文件系统,而没有任何成功。如果她将文档保存到错误的文件夹,她将永远不会再找到它!