Search Results

Search: Posts Made By: Davinator
3,613
Posted By Davinator
Pamu - That gets me about halfway where I want to...
Pamu - That gets me about halfway where I want to be. This is definitely more efficient, so thanks!

The goal is to look into each folder with a .7z file. If that folder with the .7z also...
3,613
Posted By Davinator
Help with creating recursive unzip script
Hello. I am trying to create a script that recursively looks at my folder structure, and extracts any .7z files that have not already been extracted yet. I know that all .7z files only have a...
1,854
Posted By Davinator
Yeah, you are absolutely correct, my mistake. ...
Yeah, you are absolutely correct, my mistake. I've updated my posts accordingly changing symlinks to hardlinks.

I guess this is why I'm posting in the newbies area :)
1,854
Posted By Davinator
Yeah, I've already confirmed they work in my...
Yeah, I've already confirmed they work in my setup. I tested using a simple ln command with no flags, and it works perfectly. I think the reason it works is because my end-device is linux-based.
...
1,854
Posted By Davinator
Advanced Hardlink Creation script
Hello. I am working on creating a script to recursively run on my media collection. The goal is to recreate the folder structure, but with slight changes in the folder names based on my rules. The...
2,330
Posted By Davinator
Got it. Thanks for the help, it's all working...
Got it. Thanks for the help, it's all working now!
2,330
Posted By Davinator
Thanks! I think this is almost what I need. I'm...
Thanks! I think this is almost what I need. I'm a little confused about what "while read d" does (I'm very much a bash noob who uses Google extensively to program). I'm hoping to add some lines to...
2,330
Posted By Davinator
Help with Playlist creation script
Hello. I am hoping to have an automated way to create Playlist files from Genre txt files I'll be making with my music collection. This is for use with my WD Live player, and is so that certain...
3,559
Posted By Davinator
This works perfectly. I know my directories are...
This works perfectly. I know my directories are not named as well as they could be. I'll work on fixing that.




I also got this script working. I had to change the grep "\.jpg$" command to...
3,559
Posted By Davinator
I'm still getting the same error. It seems to...
I'm still getting the same error. It seems to work, however it fails at a certain point. Is there any way to output what might be going on when it fails?
3,559
Posted By Davinator
This is an unRAID system. It's essentially a...
This is an unRAID system. It's essentially a trimmed down Slackware installation.
3,559
Posted By Davinator
Thanks for the prompt replies! When...
Thanks for the prompt replies!




When I try this solution, I get the following error:

xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option

...
3,559
Posted By Davinator
Create a dummy file in all directories that include a .jpg
Hello. My latest project has me with the need for the following script. Basically, any directory that includes a .jpg file needs to also have a ".picture" file created (if it doesn't exist). ...
4,181
Posted By Davinator
Agama - thanks for the reply. That works! ...
Agama - thanks for the reply. That works!

There are so many different ways to get to the same answer. I'm learning a lot... both these scripts are way more efficient than anything I was...
4,181
Posted By Davinator
Thanks for the heads up about basename and...
Thanks for the heads up about basename and dirname commands. Your script is much more streamlined.

When I run your command, I get a bunch of errors:
awk: cmd. line:1: {print $(NF)
awk: cmd....
4,181
Posted By Davinator
Remove last string from each line
I am trying to write a script that will allow me to recursively look at my directories, and output all filenames to a txt document. I am almost finished, however I am hitting one last snag. Here is...
6,206
Posted By Davinator
Wow, thanks for all the great replies. For now,...
Wow, thanks for all the great replies. For now, I think the first reply from DGPickett with the simple sort command will work for me, however I will stash the other examples away for when that will...
6,206
Posted By Davinator
Sort data by the end of each line using BASH.
I am trying to sort data within a text document by the information at the end of each line. Please see below for an example:


<Profile_0 Name="Random name 0" Description="This is the...
1,438
Posted By Davinator
Thanks so much saw7! The sed command is exactly...
Thanks so much saw7! The sed command is exactly what I'm looking for. Now the next step will be for me to be able to write that type code on my own...
1,438
Posted By Davinator
Parse out part of line in text document
I have an XML file that I am attempting to create a new text document from it with only one of the pieces of data printed. Here's an example:

Source:
<?xml version="1.0"?>
<Reply...
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 02:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy