📁 Gestión de Archivos
📖 Oficial
Archivador de Proyectos
Archive proyectos completados, limpie archivos temporales y comprima para ahorrar espacio
★☆☆ Principiante 10-15 min 12 de enero de 2025
📋
Escenario
💬
Prompt
Please analyze the ~/Projects/old-website project: - Total file size - Largest files and folders - Temporary files that can be safely deleted (node_modules, .cache, build, etc.) - Estimate how much space can be saved after cleanup Then clean up temporary files: - Delete node_modules, .next, dist, build folders - Delete .DS_Store, Thumbs.db and other system files - Delete .log and .cache files - Keep package.json, README.md and other important files Finally, package the project: - Use tar.gz format for compression - Include date in filename: old-website-archive-20250112.tar.gz - Save to ~/Archives folder - Verify archive integrity
✨
Resultado Esperado
💡
Consejos
- • Para proyectos particularmente importantes, puede crear dos archivos: uno manteniendo todos los archivos (incluyendo node_modules), y otro con solo código fuente, por si necesita volver al mismo entorno exacto.