3

Frequently used CLI commands

Vom 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:
www.petefreitag.com
blogs.nuxeo.com

AWS S3

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>

http://s3tools.org/usage

TAR

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 *

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

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