Mover archivos atrás

Mover archivos atrás

Intenté descubrir qué estaba mal con Unity, luego hice esto: mv backup_local/ .local/share/applications/en lugar de mv backup_local/*.desktop .local/share/applications/. ¿Cómo puedo solucionar esto?

Respuesta1

Lo que has hecho es simplemente mover backup_local/el directorio a .local/share/applications. Tal como lo hice en esta pequeña demostración aquí:

xieerqi:$ ls TESTDIR
testfile

xieerqi:$ mkdir bin/ANOTHERDIR                                                

xieerqi:$ touch bin/ANOTHERDIR/testfile2                                      

xieerqi:$ mv TESTDIR/ bin/ANOTHERDIR/                                         

xieerqi:$ ls bin/ANOTHERDIR
TESTDIR/  testfile2

xieerqi:$ ls bin/ANOTHERDIR/TESTDIR                                           
testfile

Para deshacer eso simplemente ejecutamv .local/share/applications/backup_local/ backup_local/

Igual que

xieerqi:$ mv bin/ANOTHERDIR/TESTDIR  TESTDIR                                  

xieerqi:$ ls -ld TESTDIR
drwxrwxr-x 2 xieerqi xieerqi 4096 11月  5 00:14 TESTDIR/

xieerqi:$ ls -l TESTDIR/                                                      
total 0
-rw-rw-r-- 1 xieerqi xieerqi 0 11月  5 00:14 testfile

xieerqi:$ 

información relacionada