Read the statement by Michael Teeuw here.
Starter problem
-
@kurt
I would create an archive of the entire magicmirror folder.cd ~ tar -cvf mirror.tar /MagicMirror
-
@yawns
this is on the Raspi and on which place will he make the archiv ?
And to save it outside the best way is? I#m using Filzilla is this a right tool for this plan?
Thanks -
@kurt
This command will create a file called mirror.tar in your home directory on your raspberry. You can copy/transfer it to your computer with filezilla, the same way you did to copy new files to your raspberry -
@yawns
perfekt
thank you, I better bring my sheeps to a save place :) -
@yawns
Sorry didn’t happen,
he refused “cowardly or yellow” this is the translation I found, to create an empty archiv.pi@raspberrypi:~/MagicMirror $ tar -cvf mirror.tar/MagicMirror tar: Anlegen eines leeren Archivs wird feige verweigert. „tar --help“ oder „tar --usage“ gibt weitere Informationen.
-
Two things -
- You’re in the MagicMirror directory. Type this:
cd ~
- You need a space here:
tar -cvf mirror.tar/MagicMirror
should be
tar -cvf mirror.tar /MagicMirror
-
-
That’s okay! You’re in the right folder now :)
In the previous post your command prompt looked like this:
pi@raspberrypi:~/MagicMirror $
Which shows you in the MagicMirror directory. But if your command prompt now looks like this:
pi@raspberrypi:~ $
Then you are back in the correct ‘~’ folder and you can proceed to step 2.
-
@in_a_days said in Starter problem:
tar -cvf mirror.tar /MagicMirror
this is what I get:
pi@raspberrypi:~ $ cd ~ pi@raspberrypi:~ $ tar -cvf mirror.tar /MagicMirror tar: Entferne führende „/“ von Elementnamen tar: /MagicMirror: Funktion stat fehlgeschlagen: Datei oder Verzeichnis nicht gefunden tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
What do you think?
Thank you -
I apologize, I have not used the tar command before. Remove the ‘/’ before MagicMirror. Try:
tar -cvf mirror.tar MagicMirror