venv
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
## rsync Options ##
|
||||||
|
|
||||||
|
# Basic Options
|
||||||
|
-v, --verbose # Increase verbosity
|
||||||
|
-q, --quiet # Suppress non-error messages
|
||||||
|
-a, --archive # Archive mode (equivalent to -rlptgoD)
|
||||||
|
-r, --recursive # Recursively copy directories
|
||||||
|
-b, --backup # Make backups (see --suffix & --backup-dir)
|
||||||
|
-n, --dry-run # Show what would happen without making changes
|
||||||
|
|
||||||
|
# Sync Options
|
||||||
|
-u, --update # Skip files that are newer on receiver
|
||||||
|
--inplace # Update files in-place
|
||||||
|
--append # Append data to shorter files
|
||||||
|
-z, --compress # Compress file data during transfer
|
||||||
|
--delete # Delete extraneous files from destination
|
||||||
|
|
||||||
|
# Selection Options
|
||||||
|
-m, --prune-empty-dirs # Prune empty directory chains from file-list
|
||||||
|
--include=PATTERN # Include files matching pattern
|
||||||
|
--exclude=PATTERN # Exclude files matching pattern
|
||||||
|
--exclude-from=FILE # Read exclude patterns from FILE
|
||||||
|
|
||||||
|
# Display Options
|
||||||
|
-h, --human-readable # Output numbers in human-readable format
|
||||||
|
--progress # Show progress during transfer
|
||||||
|
-i, --itemize-changes # Output a change-summary for all updates
|
||||||
|
|
||||||
|
# Preservation Options
|
||||||
|
-p, --perms # Preserve permissions
|
||||||
|
-t, --times # Preserve modification times
|
||||||
|
-g, --group # Preserve group
|
||||||
|
-o, --owner # Preserve owner (super-user only)
|
||||||
|
-D # Same as --devices --specials
|
||||||
|
--devices # Preserve device files (super-user only)
|
||||||
|
--specials # Preserve special files
|
||||||
|
|
||||||
|
# Connection Options
|
||||||
|
-e, --rsh=COMMAND # Specify the remote shell to use
|
||||||
|
--port=PORT # Specify alternate port number
|
||||||
|
--blocking-io # Use blocking I/O for remote shell
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
To create a new Virtual Environment (venv) run the following in the root folder of your project
|
||||||
|
'''
|
||||||
|
% python3 -m venv venv
|
||||||
|
'''
|
||||||
|
|
||||||
|
To activate the venv
|
||||||
|
'''
|
||||||
|
% source venv/bin/activate
|
||||||
|
'''
|
||||||
|
|
||||||
|
Your terminal should then look like this
|
||||||
|
'''
|
||||||
|
% (venv) jonas@bendorama %
|
||||||
|
'''
|
||||||
|
|
||||||
|
If it doesn't make sure you run the source command before working on your project.
|
||||||
|
|
||||||
|
To deactivate the venv just run
|
||||||
|
'''
|
||||||
|
% deactivate
|
||||||
|
'''
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
### Folders & Permissions
|
### Folders & Permissions
|
||||||
- [Setting Permissions](cli/permissions.md)
|
- [Setting Permissions](cli/permissions.md)
|
||||||
- [NFS Mounts](cli/nfsmounts.md)
|
- [NFS Mounts](cli/nfsmounts.md)
|
||||||
|
- [rsync](cli/rsync.md)
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
- [Working Inside Containers](cli/containers.md)
|
- [Working Inside Containers](cli/containers.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user