Search Results

Search: Posts Made By: marek
Forum: OS X (Apple) 05-21-2017
3,333
Posted By marek
Diff between vim and macvim ( command \ll )
Hello all!

I am quite a newbie in vim.

In MacVim the command \ll (That means \ + L + L) compiles my LaTeX file, which I am just editing, with the command pdflatex (coming out is a .pdf file)...
2,788
Posted By marek
Thank you! cp file_w{30,32}.tex ...
Thank you!


cp file_w{30,32}.tex


That's really amazing! Very elegant! I will definately switch to Bourne shell. Opening a new thread, could somebody help me to move my .tcshrc profile to...
2,788
Posted By marek
Thank you greet_sed and dry! Great...
Thank you greet_sed and dry!


Great postings. I finally understood your answers! It's working :)

I installed the command rename via homebrew. This is a great help too.

Yes, I should move...
2,788
Posted By marek
Thank you greet_sed! I tried really...
Thank you greet_sed!

I tried really everything. My tcsh is: tcsh 6.19.00 (Astron) 2015-05-21 (unknown-unknown-bsd44) options wide,nls,dl,al,kan,sm,rh,color,filec

(I am on Mac)


foreach i...
2,788
Posted By marek
Thank you Padow1 This is only working in...
Thank you Padow1

This is only working in bash. And unfortunately its working for ever file name.

Could it be, that you meant:


for i in `ls foo.*`; do
mv $i bar_$i
done


Is this...
2,788
Posted By marek
Mv all files with different extensions to a new name
Hello all!

I want to move several files foo.aux foo.log foo.pdf foo.tex to bar_foo.aux bar_foo.pdf bar_foo.tex

I am on tcsh

% mv foo.* bar_!#:1

is not working.

Thank you for your...
5,211
Posted By marek
You are genius! Wow! Really impressing. Why this...
You are genius! Wow! Really impressing. Why this is working without an opening parenthesis? I added one and it is working too. I am stumbled :)

*SQLite*|*XML*)

Greetings to all and thank you to...
5,211
Posted By marek
Thank you RudiC and MadeInGermany for your...
Thank you RudiC and MadeInGermany for your answers!


find . -type f -name "ca3*" -ls -print -exec file {} +
12954433 2632 -rw-r--r-- 1 mstep staff 1347584 8 Mai...
5,211
Posted By marek
Find or ls with pipe to the command file
Hello all!


I am trying to find the "Notes" backup from my iPhone in my folder ~/Library/Application\ Support/MobileSync/Backup/[UDID] which used to be in the sqlite file...
12,343
Posted By marek
Wow! really elegant solution. I am just realising...
Wow! really elegant solution. I am just realising the difference between $path and $PATH

THX
12,343
Posted By marek
Just to complete: this is working on MacX...
Just to complete:

this is working on MacX in bash only:

echo -e ${PATH//:/\\n}


thx again


marek
12,343
Posted By marek
Thank you allister! I learned a lot! Yes...
Thank you allister!


I learned a lot! Yes I will do my homeworks now an read the manuals ...

this code is working:


echo $PATH | sed 'y/:/\n/'


hurray!

suppose the y/// is...
12,343
Posted By marek
Thank you vidyadhar85 This is working in my...
Thank you vidyadhar85

This is working in my shell:


echo $PATH | sed 's/:/ /g'


This replaces all colons with a space. Now lets try with a tab:


echo $PATH | sed 's/:/\t/g'
echo...
12,343
Posted By marek
Oh thank you all! This was really a quick help! ...
Oh thank you all! This was really a quick help!

Not working:


echo $PATH | sed 's/:/\n/g'
echo $PATH | sed 's/:/"\n"/g'
echo $PATH | sed 's/:/\\n/g'
echo $PATH | sed 's/:/"\\n"/g'
echo...
12,343
Posted By marek
What is wrong with: echo $PATH | sed s/:/\\n/g
Hello all!


I am on Mac (10.8.4) and my shell tcsh (man says version: Astron 6.17.00). Just to precise my tcsh:

echo $LC_CTYPE
UTF-8

I want to replace all ':' with a new line, to get all...
Forum: OS X (Apple) 07-07-2013
15,039
Posted By marek
Hello all! rsync version: 3.0.9 MacOSX:...
Hello all!

rsync version: 3.0.9
MacOSX: 10.8.4
Subject: make an exact copy of HD to an external HD with rsync

After long tests I put up my rsync script like follows:

First a long exclude...
Forum: OS X (Apple) 06-26-2013
15,039
Posted By marek
Thank you xbin! I did not know the asr...
Thank you xbin!

I did not know the asr command! Interesting! I already did install the latest version of rsync, but did not succeeded to apply the patches. Will dip in again one more time. And...
Forum: OS X (Apple) 06-23-2013
15,039
Posted By marek
Thank you vbe and del for your hints! ...
Thank you vbe and del for your hints!


Sorry for answering so late. I have had to read tons of manual pages of rsync, cp, dd, cpio, tar, rsnapshot.

My question was concerning an exact backup...
Forum: OS X (Apple) 06-20-2013
15,039
Posted By marek
Rsync for back up, external HD
Hello all!


I am quite unsure with all options of rsync. Here my backup configuration: I am on Mac X (10.8) and want an exact copy of my HD to an external HD. I formatted the new USB drive with...
Forum: Web Development 06-13-2013
5,661
Posted By marek
Yes I made an error with copy and paste. A little...
Yes I made an error with copy and paste. A little resumé for everybody. To upgrade from mysql-5.5 to mysql-5.6 and import the tables do following commands in your shell:



shell> mysql_admin -u...
Forum: Web Development 06-13-2013
5,661
Posted By marek
Thanx! Neo! Now finally I have it on my...
Thanx! Neo!

Now finally I have it on my Desktop :) I forgot the '>'

And now I did:

mysql -u root -p < ~/Desktop/dump.sql

And it's working! Uff! Thank you radoulov and neo for your...
Forum: Web Development 06-13-2013
5,661
Posted By marek
Here I am again. Still struggling with the same...
Here I am again. Still struggling with the same problem. Here my Shell session with some comments; hope this is not too longish for this forum.


mysqldump with the former MySQL 5.5. I remove the...
Forum: Web Development 06-11-2013
5,661
Posted By marek
For me it is not clear, what means InnoDB and...
For me it is not clear, what means InnoDB and what changed in the update of MySQL. I don't know either, how to switch off InnoDB. But I will read the refman.

In any case I made

...
Forum: Web Development 06-11-2013
5,661
Posted By marek
Yes, radoulov, I am able to log in as root, and...
Yes, radoulov, I am able to log in as root, and read the Databases, but not the content of the Tables with SELECT ... And the same as user webdev ...

Meanwhile I found the error log. it resides in...
Forum: Web Development 06-10-2013
5,661
Posted By marek
Thank you radoulov! ooops! This is a good...
Thank you radoulov!


ooops! This is a good idea! BUT where is this error log?

sudo find . -iname "*.log" -print
sudo find . -iname "*error*" -print

does not help (searching in...
Showing results 1 to 25 of 26

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