Ubuntu Pastebin

Paste from vco at Tue, 14 Apr 2015 01:37:46 +0000

Download as text
 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#!/bin/sh

# file that contains a list of directories not to back up
IGNORE=/home/vco/.rsyncIgnoreList

# directory to back up
SOURCE=/home/vco
# location to back up to 
DESTINATION=/mnt


rsync -aP --exclude-from=$IGNORE \
    --progress \
    $DESTINATION \
    $SOURCE


# fyi : 
#Content of Ignore List : (~/.rsyncIgnoreList)
#    
#
#USBDrive
#compressed_files
#linux_isos
#Music
#SDCARDVIDEO
#R-Pi
#ImageFiles
#vmShare
#VirtualBox VMs


# After running this script the DESTINATION has the following files : 


#.
#..
#.adobe
#.appcfg_nag
#.aptitude
#.bash_history
#.bash_logout
#.bashrc
#.cache
#.change.c.swp
#.compiz
#.config
#.dbus
#.dmrc
#.dropbox
#.dropbox-dist
#.filezilla
#.gconf
#.gimp-2.8
#.gitbook
#.gitconfig
#.gksu.lock
#.gnome
#.gnome2
#.gnome2_private
#.grafx2
#.gstreamer-0.10
#.gvfs
#.halp.c.swp
#.ICEauthority
#.idlerc
#.irssi
#.java
#.kde
#.lastpass
#.lesshst
#.local
#.macromedia
#.mozilla
#.mypaint
#.pip
#.pki
#.processing
#.profile
#.python_history
#.rsyncBashTest.sh.swp
#.selected_editor
#.Skype
#.ssh
#.texmf-var
#.thumbnails
#.thunderbird
#.tuxpaint
#.txt
#.vim
#.viminfo
#.vimrc
#.vimrc.swp
#.wireshark
#.Xauthority
#.xdvirc
#.xpaint
#.xsession-errors
#.xsession-errors.old
Download as text