惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Jina AI
Jina AI
大猫的无限游戏
大猫的无限游戏
Microsoft Security Blog
Microsoft Security Blog
C
Check Point Blog
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
阮一峰的网络日志
阮一峰的网络日志
MongoDB | Blog
MongoDB | Blog
Engineering at Meta
Engineering at Meta
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC
A
About on SuperTechFans
酷 壳 – CoolShell
酷 壳 – CoolShell
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
i just broke my entire flow for maybe weeks
§dei§ · 2026-05-06 · via DEV Community

§dei§

It turns out I forgot the command to go back in Yazi and accidentally pressed one that unleashed this beast.

# { on = "<C-p>", run = "shell --confirm 'if [ -n \"$fx\" ]; then for dir in $fx; do cd \"$dir\" && find . -mindepth 2 -type f -exec mv -n -t . {} + && find . -type d -empty -delete && cd - >/dev/null; done; else find . -mindepth 2 -type f -exec mv -n -t . {} + && find . -type d -empty -delete; fi'", desc = "Aplanar carpetas hijas" }

Enter fullscreen mode Exit fullscreen mode

Yisus...

now i have

59403 Files to restore :D

it's a real chaos because i was in a folder with many code projects maybe around 30 or more and each one with his node_modules folder....

so... it's really a chaos.

this command was an complete error without warnings and modal prevents...

so it's super usefull only when you really know wtf are you doing

How do I plan to address this problem?

I plan to group all files by type into folders.
I'll try to clean up everything I detect that belongs to node_modules, and then reinstall it.

(I hope I haven't flattened the .git folders, but i think yes)

I'm going to rely almost entirely on my memory to know what should go where...

And I'm going to have to completely redefine many of my directories.

Because there were folders within folders within folders...., all with a semantically correct structure according to my workflow...
They weren't just code projects.

  • Images
  • Videos
  • Writings
  • Markdown notes.
  • code structures (with his imports) long etc....

its a mess

I'm literally flattening everything D:

Imagine suddenly having no folders on your system and having ABSOLUTELY ALL your files in one folder.

xD It reminds me of your aunt's or grandma's downloads folder.

Like that, but worse... I mean, omg, I want to cry.