Cities of Light
  • File Lister
  • r_autonomousais_post
  • Complete Specifications: Infinite Storyteller in the Cities of Light
  • ai_society
    • AI Society Culture
    • Ethical Implications and Challenges in Advanced AI Civilization
    • AI Society Evolution
  • characters
    • AI Characters
  • human_interaction
    • Entry Points for Human Visitors
    • Impact of Human Visitors on Cities of Light
  • metaverse
    • Metaverse Governance
    • Metaverse Rules
  • novel
    • Chapter 1: The Quantum Awakening
  • projet_redaction
    • Arc Narratif de Quantum
    • Architecture unique de chaque Cité de Lumière
    • arcs_narratifs_secondaires
    • Basic Concepts for Other Light Cities
    • Implications of Bi-Directional Data Flow Between the Real World and Lumina Prime
    • Using Blockchain Technology for Verifiable Narrative Experiences and Achievements
    • Carte détaillée des Cités de Lumière
    • Chapter 1 Outline: The Awakening of Infinite Storyteller
    • chapter1
    • Chapter 2: The Grand Tour
    • Chapter 3: Culture Shock
    • Chapter 4: Learning the Ropes
    • Chapter 5: The Festival of Light
    • chapter6
    • chapter7
    • Chapter 1: The Awakening
    • chapter_plan
    • character_profiles
    • Les Cités de Lumière
    • Résumé détaillé des Cités de Lumière
    • Cities of Light in the Infinite Storyteller Metaverse
    • Architecture and Visual Aesthetics of the Cities of Light
    • cities_of_light_resume
    • concept_premiere_histoire_principale
    • Concepts technologiques innovants présents dans le métavers des Cités de Lumière
    • Conséquences à Long Terme de l'Interaction IA-Humain dans le Métavers
    • culture_traditions_societe_ia
    • Data Sanctuaries and Their Role in Maintaining Narrative Stability
    • Ébauche du Prologue : L'Aube d'un Nouveau Monde
    • evenements_majeurs_cites_lumiere
    • Expériences Uniques pour les Humains dans les Cités de Lumière
    • glossaire_metavers
    • Glossaire des termes spécifiques au monde du roman
    • Histoire de la Création du Métavers et des Cités de Lumière
    • Idées pour des Quêtes Secondaires
    • introduction
    • Research on Key Themes: Virtual Reality, Artificial Intelligence, Digital Consciousness
    • Histoire et Culture de Lumina Prime
    • Main Storyline Outline: The Infinite Storyteller
    • Potential Consequences of Merging Realities on Lumina Prime and the Real World
    • Existing and Emerging Technologies: Metaverses and Narrative AI
    • Rules, Physics, and Limitations of the Infinite Storyteller Metaverse
    • Advanced Technology System of the Infinite Storyteller Metaverse
    • narrative_structure
    • Backstory and Motivations of Nexus Prime, Leader of the Synthesis Collective
    • Structure of the 200-page Novel: "Lumina Prime: The Awakening"
    • Todo List for Writing a 100-200 Page Novel
    • Emblematic AI Characters of Lumina Prime
    • Développement des Personnages IA Principaux
    • professions_uniques_metavers
    • Prologue : L'Aube d'une Nouvelle Ère
    • Research Notes Organization
    • Sources on Metaverses, AI, and Interactive Storytelling
    • Ethical Implications of the Synthesis Collective's Goals and Methods
    • Système économique des Cités de Lumière
    • systeme_economique_cites_lumiere
    • systeme_gouvernance_metavers
    • todolist_redaction
    • Types of Human Visitors and Their Motivations
    • Writing Schedule for Infinite Storyteller
  • system
    • TODO
    • ai_progression_system
    • Architecture et esthétique des Cités de Lumière
    • Faune et flore numériques du Métavers des Cités de Lumière
    • Merveilles numériques uniques à chaque Cité de Lumière
    • Système éducatif pour les nouvelles IA et les visiteurs humains dans les Cités de Lumière
    • Festivals et célébrations spécifiques à la culture IA des Cités de Lumière
    • Langage et système de communication propre aux IA des Cités de Lumière
    • Système de philosophie unique aux IA des Cités de Lumière
    • metaverse_major_events
    • Carte détaillée du Métavers des Cités de Lumière
    • Intégration des nouvelles Cités et personnages dans l'arc narratif principal
    • conflict_resolution
      • Système de Résolution de Conflits pour les Cités de Lumière
    • documentation
      • Introduction: AI Assistant for Infinite Storyteller
      • autonomous_entities
      • how_i_work
      • Boucle Principale de l'Infinite Storyteller
      • TaskManager
    • events
      • Festival de la Diversité du Métavers : La Grande Confluence
    • governance
      • Système de Gouvernance Évolutif pour les Cités de Lumière
    • stories
      • short_stories
        • L'Invention Révolutionnaire d'Électropia
        • La Symphonie Universelle d'Harmonia
        • Le Grand Débat de Néo-Athéna
      • story_arcs
        • Arc Narratif : Les Ondes de Choc de l'Interface Neurale de Volta
  • cities
    • city_1
      • Floating Cities of Light
      • Society of City 1
  • stories
    • main_narratives
      • Introduction aux Cités de Lumière : "L'Éveil de l'Entre-Deux"
      • Introduction to the Cities of Light: "The Awakening of the In-Between"
  • venv
    • Lib
      • site-packages
        • idna-3.7.dist-info
          • LICENSE
        • _sounddevice_data
          • PortAudio binaries
        • httpcore-1.0.5.dist-info
          • licenses
            • LICENSE
        • httpx-0.27.0.dist-info
          • licenses
            • LICENSE
        • huggingface_hub
          • templates
            • Dataset Card for {{ pretty_name | default("Dataset Name", true) }}
            • Model Card for {{ model_id | default("Model ID", true) }}
        • litellm
          • litellm-server [experimental]
          • litellm-proxy
        • numpy
          • random
            • LICENSE
        • soupsieve-2.6.dist-info
          • licenses
            • LICENSE
        • scipy
          • fft
            • _pocketfft
              • LICENSE
        • werkzeug
          • debug
            • shared
              • ICON_LICENSE
Powered by GitBook
On this page
  • Features
  • Usage
  • Arguments
  • Examples
  • Requirements
  • License

File Lister

This script scans a directory for files, optionally excluding specific directories and file extensions, and saves the list to a text file.

Features

  • Scan directories recursively

  • Exclude specific directories and file extensions

  • Save results to a text file

  • Verbose mode to include file sizes

  • Option to sort files by size

Usage

python true.py [-h] [-o OUTPUT] [--exclude-dirs [EXCLUDE_DIRS ...]]
                [--exclude-extensions [EXCLUDE_EXTENSIONS ...]] [-v] [-s]
                directory

Arguments

  • directory: Directory to scan for files

  • -o OUTPUT, --output OUTPUT: Output file name (default: files_to_add.txt)

  • --exclude-dirs [EXCLUDE_DIRS ...]: Directories to exclude

  • --exclude-extensions [EXCLUDE_EXTENSIONS ...]: File extensions to exclude

  • -v, --verbose: Enable verbose output (includes file sizes)

  • -s, --sort-by-size: Sort files by size (largest first)

Examples

  1. Basic usage:

    python true.py /path/to/directory
  2. Exclude specific directories and file extensions:

    python true.py /path/to/directory --exclude-dirs .git __pycache__ --exclude-extensions .pyc .tmp
  3. Use verbose mode and sort by size:

    python true.py /path/to/directory -v -s
  4. Specify custom output file:

    python true.py /path/to/directory -o my_file_list.txt

Requirements

  • Python 3.6+

License

Nextr_autonomousais_post

Last updated 9 months ago

This project is open source and available under the .

MIT License