A quiet enigma. We don't know anything about ShadowsRanger yet.
I want to remove all files with the ".part" extension in the current directory and its subdirectories, including files with the same name but different extension. Is this correct? find . -name '*...
3 answers · posted 3y ago by ShadowsRanger · last activity 3y ago by jimbobmcgee
How can I delete a specific number of lines from the end of a text file using Linux command-line tools?
2 answers · posted 10mo ago by ShadowsRanger · last activity 6mo ago by jhnc
I'm trying to bulk-rename files in a directory and its subdirectories. I want to print each file's name before and after renaming, ideally on the same line in the form: original_filename -> new...
1 answer · posted 1y ago by ShadowsRanger · last activity 1y ago by ShadowsRanger
I want to create a collage of 20 screenshots from a video, arranged in a 5x4 grid, regardless of the video’s length. How can I do this efficiently on a Linux system? Specifically, I’d like a way t...
2 answers · posted 2y ago by ShadowsRanger · last activity 2y ago by GeraldS
Hello everyone, I am encountering an issue when running pytest in my virtual environment. Although I have installed the required modules in my virtual environment using pip, I am still getting a M...
2 answers · posted 3y ago by ShadowsRanger · last activity 2y ago by Karl Knechtel
Use head to keep all but the last N lines, overwriting the file: head -n -N input.txt > tmp && mv tmp input.txt Example: remove last 3 lines head -n -3 file.txt > tmp && ...
posted 10mo ago by ShadowsRanger · edited 10mo ago by ShadowsRanger
perl-rename -nv 'regex' **/* Breakdown: -n: Dry run—no files are actually renamed; it only shows what would happen. -v: Verbose—prints each renaming operation. 'regex': Your Perl regex desc...
posted 1y ago by ShadowsRanger · edited 1y ago by ShadowsRanger
There could be Lemmy communities that automatically repost Codidact category RSS feeds to increase reach. Host them on bot-friendly instances such as ibbit.at, or run a dedicated Lemmy instance for...
posted 11mo ago by ShadowsRanger
I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies. I wrote a script that uses the data from pkgstat...
1 answer · posted 3y ago by ShadowsRanger · last activity 3y ago by alx
I want the cd command to automatically change to the first directory that matches a fuzzy search, without prompting me to select between multiple options. This is what I've tried: cd() { loc...
1 answer · posted 3y ago by ShadowsRanger · last activity 3y ago by jimbobmcgee
Hi everyone, I recently set up Helix and noticed that every time I save a CSS file, it gets automatically formatted. I didn’t enable any formatter for CSS in my configuration, only for Python. My ...
0 answers · posted 10mo ago by ShadowsRanger · edited 10mo ago by ShadowsRanger
I want to configure zsh to read its config from ~/.config/zsh by setting ZDOTDIR=$XDG_CONFIG_HOME/zsh and ensuring XDG_CONFIG_HOME is defined early. Currently my script appends exports to three glo...
0 answers · posted 5mo ago by ShadowsRanger · edited 5mo ago by ShadowsRanger
