Frequently used CLI commands

Geschrieben by Jens on 12. Januar 2012 in Linux, Lampp, Projekte & HowTos |

Frequently used SVN Server commands – SVN+SSH

Merge/Move Repositories from one to another SVN Server (Repository)

Create DUMP
$ svnadmin dump /path/to/repository > repo_name.svn_dump
Load Dumo into new SVN
$ svnadmin load /path/to/repository < repo_name.svn_dump
Load Dump into project folder of new SVN
$ svnadmin load /path/to/repository --parent-dir projectFolder/trunk < repo_name.svn_dump

Extract Project Folder from Repository Dump
$ cat repoA.dump | svndumpfilter include Project > Project.dump

After linux/shell executed changes on /var/svn change owner/permissions:
$ chown -R :svn /var/svn/repos/
$ chmod -R 775 /var/svn/repos/

How To’s:


AWS copy/sync files between AWS EC2 and S3 storage:
$ aws s3 sync --sse --storage-class REDUCED_REDUNDANCY <localPath> <s3-Path>
or back from S3
$ aws s3 sync --sse --storage-class REDUCED_REDUNDANCY <s3-Path> <localPath>

AWS file copy/sync between Non-AWS Linux servers and S3 storage:
$ s3cmd put --rr --server-side-encryption --recursive <localPath> <s3-Path>



Packe nur bestimmte Dateien in ein neues tar file.
a) finde dateien die gepackt werden sollen
b) tar ausschliesslich diese
$ find ./someDir -name "*.php" -o -name "*.html" | tar -cf my_archive.tar.gz -T -

Schlagwörter: , , , , , , , , ,

3 Kommentare

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Copyright © 2006-2018 Mabuhay! All Rights Reserved.
This site is using the theme, v, from BuyNowShop.com.