Skip to content

Instantly share code, notes, and snippets.

View blankhat1610's full-sized avatar

Mai Xuân Thưởng blankhat1610

View GitHub Profile
@blankhat1610
blankhat1610 / rsync.sh
Last active January 6, 2025 08:29
Sync local directory to remote directory using rsync
#!/bin/bash
# Function to display usage
usage() {
echo "USAGE: $0 <local_dir> <user@remote_ip> <remote_dir>"
echo "EXAMPLE: $0 . [email protected] /home/user/tools"
exit 1
}
# Check if help option is provided
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"base_keymap": "VSCode",