1er commit

De la docs au format Mkdocs
This commit is contained in:
2018-09-16 14:48:15 +02:00
commit e82296ba06
140 changed files with 17082 additions and 0 deletions

72
docs/macos/Divers.md Normal file
View File

@@ -0,0 +1,72 @@
# Divers
#### Convertir une page man en fichier txt:
```bash
bruno@SilverBook:~$ man tmutil | col -b > tmutil.txt
```
( -bx)
#### Convertir une page man en fichier pdf:
(installer Ghostscript pour avoir ps2pdf)
```bash
bruno@SilverBook:~$ man -t tmutil | ps2pdf - tmutil.pdf
```
#### Installer LaTeX:
```bash
$ brew cask install basictex
```
ou
```bash
$ brew cask install mactex
```
#### rsync
`—delete` (efface de la destination ce qui nest plus dans la source)
#### Créer une image disque:
```bash
bruno@SilverBook:~$ hdiutil create -srcfolder /Users/bruno/Downloads/PC archive.dmg
.......................................................................................................................................................................................
created: /Users/bruno/archive.dmg
```
#### Rapport système:
```bash
bruno@SilverBook:~$ system_profiler -detailLevel basic > report.txt
```
#### Comparer fichiers et répertoires:
```bash
$ opendiff Contract1.rtf Contract2.rtf
```
#### Chercher les m-à-j sur l'App Store:
```bash
$ softwareupdate -l
Software Update Tool
Finding available software
No new software available.
```
#### Installer les m-à-j:
```bash
$ sudo softwareupdate -i -a
```