Usually, a double dash separates options from filenames, but xdg-open does not care:
❯ xdg-open -headlinesAfter.epub
xdg-open: unexpected option '-headlinesAfter.epub'
Try 'xdg-open --help' for more ...
I have a folder with opus sound files. I would like to convert that folder listing to something I can use in a spreadsheet. I want the result to contain something like file name, length of the sound ...
The accepted wisdom for the past few decades has been that it is never a good idea to parse the output of ls (,). For example, if I want to save a file's modification date along with its name ...
I have a text file containing a list of files, such as:
How can I sort it such that files in subdirectories are listed before other files in the parent directory?
I have a text file that contains a list of ids of files without any extension now I need to copy those files mentioned in the list
I am an R user who is not yet familiar with unix or command line coding. I have a directory with subfolders containing files, and I have another directory with all the same filenames and no subfolders ...
I am looking for a command that will write the names of all directories, subdirectories and file names to a text file.
Posting this since I could not find it using Google and this took weeks.
When extracting using Winrar, I am getting
! Attempting to correct the invalid file or folder name
! Renaming C:\Users\noam.s\...
follow up on How to find files that contain newline in filename? ,
I need to do some manipulation on the result, for simplicity lets suppose I need to chown them.
Tried following, but does not work:
I have a remote RHEL machine which I use via X11. On that machine when I open a new file in, say, VS Code or in the Firefox browser (both apps are on teh remote machine), then I get teh following File ...
Why use of *(1)* removes everything from a directory? Then how to select all files that has (1) in the middle of it's name?
The command used is rm *(1)* or rm -rf *(1)* (don't remember exactly). It ...
Is there an option to display the printed filename in the CUPS job list? From the job list, based on the filename user would select the files to be reprinted. Earlier we were able to achieve this when ...
I have some code that writes out files with names like this:
Let's say I have an executable file, let's call it program, whose source code is unavailable (maybe proprietary/legacy).
Each time this program is executed, it generates a file, let's call ...
I've got some old files from a Latin1 based system with names that are invalid on my UTF-8 system. They show as various codes or question marks. For example:
/tmp/test $ ls -1
I have a music library that I am trying to restore from backup.
The original source library was on a QNAP NAS and I copied it over to a CentOS system without any problems.
Now that I am trying to copy ...
Semi-newbie. Trying to automate something using an awk script. Should be simple - in theory.
Set of files, all ending in .lst. In each file there is a single line (out of hundreds) with a particular ...
Aloha from Hawaii,
I hope all is well. In terminal, am trying to make all the filenames of the audio files extensions .mp3, .wav, .m4p, .aiff, .m4a to be unique. I have thousands of them so in order ...
Why are some relative file paths displayed in the form of ./file, instead of just file? For example, when I do:
I get this output:
What is the practical purpose, other ...