-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsynk-and-off
More file actions
executable file
·29 lines (27 loc) · 1.01 KB
/
synk-and-off
File metadata and controls
executable file
·29 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env bash
#
# ############################################################################
# Project: scripts (none)
# File...: synk-and-off
# Created: Thursday, 2020/03/05 - 17:29:49
# Author.: @fbnmtz, (fabiano.matoz@gmail.com)
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Last Modified: Thursday, 2023/09/14 - 00:38:46
# Modified By..: @fbnmtz, (fabiano.matoz@gmail.com)
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Version: 0.1.4.22
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Description:
# >
# ############################################################################
# HISTORY:
#
# czip -c ~/documents
# czip -c ~/pictures
# czip -c ~/apps
# czip -c ~/videos
synk push config && \
synk push data && \
notify-send "SYNK DONE!" "shutdown in two minutes" && \
sleep 120 && \
sudo shutdown -h now