# Listing repository directories > 原文:[https://docs.gitlab.com/ee/raketasks/list_repos.html](https://docs.gitlab.com/ee/raketasks/list_repos.html) * [Limit search results](#limit-search-results) # Listing repository directories[](#listing-repository-directories-core-only "Permalink") 您可以在 GitLab 管理的磁盘上打印所有 Git 存储库的列表. 要打印列表,请运行以下命令: ``` # Omnibus sudo gitlab-rake gitlab:list_repos # Source cd /home/git/gitlab sudo -u git -H bundle exec rake gitlab:list_repos RAILS_ENV=production ``` **注意:**结果使用 GitLab Rails 应用程序的默认顺序. ## Limit search results[](#limit-search-results "Permalink") 要仅列出具有最近活动的项目,请传递带有`SINCE`环境变量的日期. 您指定的时间由 Rails [TimeZone#parse 函数解析](https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html#method-i-parse) . ``` # Omnibus sudo gitlab-rake gitlab:list_repos SINCE='Sep 1 2015' # Source cd /home/git/gitlab sudo -u git -H bundle exec rake gitlab:list_repos RAILS_ENV=production SINCE='Sep 1 2015' ```