Share your
Linux F#CKUPS
by Peter Martin /
db8.nl
slides:
https://petermartin.nl
---
removing USB flash drive
---- ### Removing USB flash drive removing usb dongle too early
In Filemanager: Eject or ```bash $ sync ``` and wait! ---
Unzip in File Manager
---- ### Unzip in Nemo File Manager Permissions? ```bash $ chmod ```
Check mask ```bash $ umask ```
---
Permissions & git
---- ### git permissions Issues with permissions? ```bash $ sudo chown -r user:user /path/to/git/repo ```
For git, permissions are also file changes! ```bash git config core.fileMode false ``` better: do not cause permission issues...
---
Webpage does not change
---- ### Webpage does not change huh?
- working locally, testing remote website - Cache on
---
rsync
---- ### Rsync Copy /home/ folder including all settings ```bash $ rsync -arv /home/user/* /media/user/writable/ ```
Oops, system files have not been copied
No dot .files and dot .folders on external drive....
The right way: ```bash $ rsync -arv /home/user/ /media/user/writable/ ```
---
rm
---- ### rm Someone else told me: ```bash rm * .bak ``` Oops, with spaces.... = disaster ---
Questions?