Skip to content
Advertisement

Find and copy specific files by date

I’ve been trying to get a script working to backup some files from one machine to another but have been running into an issue. Basically what I want to do is copy two files, one .log and one (or more) .dmp. Their format is always as follows: something_2022_01_24.log something_2022_01_24.dmp I want to do three things with these files: find the

Failed to update “Operating System Updates”

Running Pop!_OS 21.04 and trying to update to the latest version when I get this error. This may have been caused by external or manually compiled software. The following packages have unmet dependencies: libnode72: Conflicts: nodejs-legacy nodejs: Conflicts: nodejs-doc Conflicts: npm Any quick fixes I’m able to do? Answer Uninstall nodejs and npm, try agian and install it again. You

CMake Lib in Linux Docker missing dependencies

I use CMake to create the DLL and SO file from my own C++ library, which I then call in my C# code via DLLImport. This has worked so far under Windows and under Linux (Docker). Now the library has been extended, which continues to work on Windows with the DLL. However, under Linux I now get the following error

Debian Linux Update FFmpeg to 4.2+

I’m trying to use spotdl with FFmpeg on Debian Linux. I’ve install pip3 and the necessary installations in order to download spotdl. Now, however, when I try to run a request with spotdl, such as download a song or something, I get this message: How do I update FFmpeg to version 4.2 or greater? I couldn’t figure out a way

How can this bash script be made shorter and better? Is there a way to combine multiple curl statements and if statements in bash?

The main script is scheduled and runs everyday and prints the success message everytime. If the status code is anything other than 200, $Status_code_1 or $Status_code_2, whichever is down prints the error code. The code is working fine but I want to know how can it be made shorter. Can the curl command from first 2 lines be combined because

My raspberry Pi Won’t let me log in as a superuser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Advertisement