Skip to content

Commit

Permalink
shellrc: fixed arg in archive_receive_from
Browse files Browse the repository at this point in the history
  • Loading branch information
aa committed Mar 16, 2024
1 parent 7dd874e commit 53c4e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .oh-my-shell/shellrc/plugins/archive/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function f_archiveSendToNetwork() {
# Receive a tar file from the network and extract it in the provided directory
function f_archiveReceiveFromNetwork() {
local dirPath="$1"
local port="$3"
local port="$2"

nc -l -p $port | zstdcat | pv | tar -xz -C "$dirPath"
}
Expand Down

0 comments on commit 53c4e95

Please sign in to comment.