1er commit
De la docs au format Mkdocs
This commit is contained in:
72
docs/macos/Divers.md
Normal file
72
docs/macos/Divers.md
Normal 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 n’est 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user