Backup Micro SD card: Diferență între versiuni

De la YO3ITI
Sari la navigare Sari la căutare
Fără descriere a modificării
Fără descriere a modificării
 
Linia 4: Linia 4:
sudo dd bs=1m if=/dev/disk3 of=/Users/tom/Desktop/RPI_RL_image_`date +%d%m%y`.img
sudo dd bs=1m if=/dev/disk3 of=/Users/tom/Desktop/RPI_RL_image_`date +%d%m%y`.img
</syntaxhighlight>
</syntaxhighlight>
Pentru afișarea într-o formă mai alegantă, folosim <code>ls -lh</code>:
<syntaxhighlight lang="shell" highlight="1,10">
MacBook-Pro-Miron:Desktop tom$ ls -lsah
total 28576688
      0 drwx------+ 13 tom  staff  416B 24 Iul 20:19 .
      0 drwxr-xr-x+ 48 tom  staff  1,5K 24 Iul 20:15 ..
      24 -rw-r--r--@  1 tom  staff    10K 24 Iul 20:19 .DS_Store
      0 -rw-r--r--  1 tom  staff    0B  7 Dec  2018 .localized
      0 drwxr-xr-x  3 tom  staff    96B 14 Mai 19:15 4GB stick
    816 -rw-r--r--@  1 tom  staff  408K  7 Iun 22:09 Captură de ecran din 2020.06.07 la 22.09.02.png
      0 drwxr-xr-x@  3 tom  staff    96B 12 Iul 00:29 FreeCAD.app
17926144 -rw-r--r--  1 root  staff  8,5G 24 Iul 20:31 RPI_RL_image_240720.img
6490112 -rw-r--r--  1 root  staff  3,1G 23 Iul 20:04 RPI_RoLink.img
    3264 -rw-r--r--@  1 tom  staff  1,6M 15 Oct  2019 av.png
3509424 -rw-r--r--@  1 tom  staff  1,7G 13 Iun 22:33 bantau_1.mp4
    376 -rw-r--r--@  1 tom  staff  186K 18 Noi  2019 pad.png
  646528 -rw-r--r--@  1 tom  staff  314M 19 Iun 17:49 test_1.mp4
</syntaxhighlight>


==Link-uri externe==
==Link-uri externe==
[https://www.raspberrypi.org/documentation/installation/installing-images/mac.md Copying an operating system image to an SD card using Mac OS]
[https://www.raspberrypi.org/documentation/installation/installing-images/mac.md Copying an operating system image to an SD card using Mac OS]

Versiunea curentă din 24 iulie 2020 20:33

Pentru a efectua un backup al card-ului micro SD pe mac/ Linux:

sudo dd bs=1m if=/dev/disk3 of=/Users/tom/Desktop/RPI_RL_image_`date +%d%m%y`.img

Pentru afișarea într-o formă mai alegantă, folosim ls -lh:

MacBook-Pro-Miron:Desktop tom$ ls -lsah
total 28576688
       0 drwx------+ 13 tom   staff   416B 24 Iul 20:19 .
       0 drwxr-xr-x+ 48 tom   staff   1,5K 24 Iul 20:15 ..
      24 -rw-r--r--@  1 tom   staff    10K 24 Iul 20:19 .DS_Store
       0 -rw-r--r--   1 tom   staff     0B  7 Dec  2018 .localized
       0 drwxr-xr-x   3 tom   staff    96B 14 Mai 19:15 4GB stick
     816 -rw-r--r--@  1 tom   staff   408K  7 Iun 22:09 Captură de ecran din 2020.06.07 la 22.09.02.png
       0 drwxr-xr-x@  3 tom   staff    96B 12 Iul 00:29 FreeCAD.app
17926144 -rw-r--r--   1 root  staff   8,5G 24 Iul 20:31 RPI_RL_image_240720.img
 6490112 -rw-r--r--   1 root  staff   3,1G 23 Iul 20:04 RPI_RoLink.img
    3264 -rw-r--r--@  1 tom   staff   1,6M 15 Oct  2019 av.png
 3509424 -rw-r--r--@  1 tom   staff   1,7G 13 Iun 22:33 bantau_1.mp4
     376 -rw-r--r--@  1 tom   staff   186K 18 Noi  2019 pad.png
  646528 -rw-r--r--@  1 tom   staff   314M 19 Iun 17:49 test_1.mp4


Copying an operating system image to an SD card using Mac OS