Search Results

Search: Posts Made By: peter1337
3,789
Posted By peter1337
i think this might be a very dirty solution, so...
i think this might be a very dirty solution, so not like someone should learn from that, its somehow working now, but there are still some things im not happy with
#!/bin/sh
cd "/i-data/64903fcc/";...
3,789
Posted By peter1337
After some hours of getting into this bash stuff,...
After some hours of getting into this bash stuff, I got my script finally working, as I want it. Even my script looks pretty different to yours I build it up on your "-name -name "*.txt" | while read...
3,789
Posted By peter1337
Oh, I could have seen that by my own :S ...
Oh, I could have seen that by my own :S

root@s17989037:/home/test# find ./ -name "*.txt" | while read FN; do PT=${FN%/*}/; FN=${FN#$PT}; echo mv ${PT}*.cad finished/${FN%.txt}.cad; echo rmdir...
3,789
Posted By peter1337
Sorry, I had a few days off. So what I mean is,...
Sorry, I had a few days off.
So what I mean is, that this "folder" or "folder3" is not always the same name. Its name could be like "xyz" and the next folder is like "12345".
What I understand is,...
3,789
Posted By peter1337
thank you very much rudi, but i might forgot to...
thank you very much rudi, but i might forgot to say, that my main problem is, that i dont know the names of the folders before :-/
3,789
Posted By peter1337
yes, this procedure for every folder (or...
yes, this procedure for every folder (or subfolder)
not always, there are folders with different files too, but they should stay untouched only performing actions on folders that contains .txt and...
3,789
Posted By peter1337
there a different types of files, even...
there a different types of files, even subfolders, but just only one .txt and .cad



sure, i try to give my best explaning my plans in english.
i try to explain this by creating a structure...
3,789
Posted By peter1337
Shell Script for renaming and moving Files - Easy?
Hey guys,
ive been working on this for about 2hrs now - without any solution.
At first I need to say I dont have skills in linux bash scripting, but I tried to use some codesnippets and manuals...
Showing results 1 to 8 of 8

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