这里有一个类似的问题和答案。然而,最重要的答案对我来说不起作用:
如果我使用:
gsutil -m rsync -r gs://your-gcs-bucket s3://your-s3-bucket
Run Code Online (Sandbox Code Playgroud)
它对我来说失败了:
The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-west-2'
Run Code Online (Sandbox Code Playgroud)
好的,rclone 确实可以工作,但是为什么不使用 gsutil rync 呢?
顺便说一句,我在伦敦地区。
我知道他们已经在某种程度上挂钩Eclipse
,并.m2
以Maven是相关的。
但是,我从来没有真正使用过 maven,也不再使用它,尽管我仍然使用Eclipse
, 这两个文件夹~/.p2
,~./m2
每个文件夹大约 4Gb,我想知道是否可以简单地删除它们。
澄清一下,我的~/.p2
文件夹如下所示:
cd ~/.p2
du -sh */
3.2M org.eclipse.equinox.p2.core/
48M org.eclipse.equinox.p2.engine/
45M org.eclipse.equinox.p2.repository/
3.6G pool/
Run Code Online (Sandbox Code Playgroud)
我想知道pool/
文件夹是否需要那么大,或者我在那里有遗物/僵尸文件以及如何找到它?
例如,为什么我有这么多版本的PyDev
?
drwxr-xr-x 6 alan staff 192 Apr 4 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_4.5.5.201603221110
drwxr-xr-x 6 alan staff 192 May 11 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.0.0.201605051159
drwxr-xr-x 6 alan staff 192 Jun 22 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.1.1.201606162013
drwxr-xr-x 6 alan staff 192 Jun 28 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.1.2.201606231256
drwxr-xr-x 6 alan staff 192 Sep 16 …
Run Code Online (Sandbox Code Playgroud) 这是我的docker-compose.yml
:
version: '3.8'
services:
db:
image: postgres:12-alpine
environment:
- POSTGRES_USER=tester
- POSTGRES_PASSWORD=atest
- POSTGRES_DB=test_db
ports:
- 5432:5432
expose:
- 5432
Run Code Online (Sandbox Code Playgroud)
正在做:
> docker-compose up -d
...
> psql test_db -U tester -h localhost
Password for user tester:
psql (12.3)
Type "help" for help.
test_db=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+--------+----------+------------+------------+-------------------
postgres | tester | UTF8 | en_US.utf8 | en_US.utf8 |
template0 | tester | UTF8 | en_US.utf8 …
Run Code Online (Sandbox Code Playgroud)