SUSE :: Command To Compare Directorys ?
Jun 17, 2010
A long time ago I came here with a query about comparing directory structures so that I could ensure I had 2 copies of all of my mp3's - 1 in high quality and 1 in portable quality. The original thread is here [url]
Now time has moved on I have begun to encode to flac, and I want to find and delete any mp3's that I now have as flac.
The problem is, the file names are not always identical AND the extensions are different, meaning the command in the previous thread doesn't get me very far.
The music is stored in the format of /home/music/mp3/Artist/Album/ and /home/music/flac/Artist/Album/ if I could just get a list of all the "album" subfolders which are duplicated I could work the rest by hand.
View 2 Replies
ADVERTISEMENT
Jan 13, 2011
i have file1 and file2.
[Code]...
Here i want to compare these two files with diff command and need to take the common things in a separate file. File contents are 7 strings in length and everything will start with the character e. File 3 contents should be
[Code]...
View 5 Replies
View Related
Aug 23, 2010
I love Ubuntu Linux - especially the commmand line. But I have to admit that, at least for now, Windows is more user-friendly - there's more software for it, more drivers, and more stuff just works.
Knowing that Mac is built on Unix makes me wonder if it's the sweet spot between them. But I wonder: how similar is the Mac command line to Linux's bash? Could I pick right up with using vim and bash scripting and git, etc? Would common commands like changing directories be different? Does anybody know an online "compare and contrast" resource?
View 5 Replies
View Related
Sep 4, 2011
I have created 2 users in Opensuse 11.4 but when logged on as either I can access the others directorys and files, how can I encrypted these so a user cannot access the others files.
View 2 Replies
View Related
Mar 22, 2010
i have a lot off windows - thumbs.db files om my Debian Apache server.How to remove all (without define all directory's)Is there any way with RM?- or maybe some other smart solution to do it?
View 8 Replies
View Related
May 14, 2011
I would like to accomplish: 1. Users to have access to their own Share on the server, no one exept the user shall be able to browse, read/write. (sould the user directories be in /home/<username> folder or shall one use another structure?
2. There shall be a public are where all users can browse, read and write. no guests, only users who have accounts!
3. A GroupShare. Users who are members of group Staff many browse, read/write.
4. Add some directorys for private use (to see how it works)
So would this be correct: Create the Directory Structure on the server:
Code:
# mkdir /usr/smbroot
# mkdir /usr/smbroot/users
# mkdir /usr/smbroot/public
# mkdir /usr/smbroot/groups/staff
# mkdir /usr/smbroot/private/fredrik_extended
or shall one use the default user shares /usr/<username>/?
[Code]...
View 1 Replies
View Related
Jan 4, 2010
i need an application or shell script that can identify all the directories and files in a certain directory and can rename them to remove any spaces in the filenames.anyone know of anything that can do this?
View 9 Replies
View Related
Jun 23, 2009
I have to trace back what command and when it is used for the last 3 months. It is quite urgent as I have trouble with the system configuration.
View 5 Replies
View Related
Jun 16, 2011
I am using the diff command with the -r option, to compare a large number of files and files in subdirectories. My main interest is to find out which files have been changed, and not what the actual changes are, and since a lot of files has been changed, it would be a lot easier to view the file names only. Is there and option for diff that might do this, or does there exist a similar tool/command that could do the job?
View 1 Replies
View Related
Dec 1, 2008
Is there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually
View 5 Replies
View Related
Jan 10, 2009
I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.
View 3 Replies
View Related
Apr 26, 2010
Is there a way of enabling the locate command if you're not the root?
View 1 Replies
View Related
May 22, 2010
I used to be able to run locate and updatedb, but after an OpenSUSE update, they no longer work. I've reinstalled findutils and it appears to install correctly, but the commands still don't work.
server:/tmp # rpm -Uvh --force findutils-4.2.28-24.i586.rpm
Preparing... ########################################### [100%]
1:findutils ########################################### [100%]
[code]...
View 3 Replies
View Related
Jun 11, 2010
I come from ubuntu were ifconfig is used to check my ip address and nic cards on my computer. I have openSuSE 11.2 on acer aspire 5515.
When I run the command I get:
So what command do I use in place of ifconfig.
View 1 Replies
View Related
Jul 2, 2010
In GNOME there's an option to highlight your mouse when you press CTRL so that it's easier to find. That's a great function for me, because I work with several screens simultaneously. I really like KDE; does anybody know how to do the same thing in KDE or at least something similar? I haven't been able to find anything in Google.
View 2 Replies
View Related
Sep 29, 2010
I am unable to locate ftp binary on SuSE 10. Some one know the location of the binary / package which has this binary.
View 2 Replies
View Related
Nov 9, 2010
I have reinstalled Suse 10.1 as dual-boot with Windows XP. I am now unable to get a program to run from the Linux command line. I am familiar with the program and have had it running previously when the machine was Linux-only. Everything else, e.g.Firefox and Office, work fine in Suse.
[Code]...
The problem occurs with all commands - not just this one. isis3Startup.sh is in green on the screen so I assume I should be able to run it - I have never had any problem when it was installed previously.
View 2 Replies
View Related
Dec 20, 2010
I tried to install JRE to my remote Suse 11 SP1 linux.After i finished with files i typed like
export PATH=<my jre path>
now i have no bash commands - typing ls causes
-bash: ls: command not found
i think that i should re-export my PATH to the right value but i don't know what it should be. I tried differend values
/etc/profile
/usr/bin
View 3 Replies
View Related
Jun 14, 2010
I am using openSUSE 10.3 and the pc is DELL Optiplex 780. The network devices is not supported by openSUSE 10.3 but I may have found it's module. But I can't "MAKE INSTALL" it as my installation does not have MAKE command.
I have selected "Install All" during my installation. Linux version is 2.6.22.5-31-default.
What is the package name for the MAKE command? So that I can find it so that I can install it into my openSUSE 10.3?
View 3 Replies
View Related
Jun 16, 2010
I have a command which is application related and I get a output some thing like this when I execute the command...Quote:applicationrunningSo I need to write script to see if application is running, if application state running run some command else run echo command to state application is not running.So I need to run the first command, then based on output (Application status), run the second command else echo command.
View 6 Replies
View Related
Dec 17, 2010
Have a bit of a dilemma I'm trying to track down. Have a user using both date and ps commands with & at the end of the line in a shell script. When he runs the script, it waits until he hits ENTER to get back to a prompt. Other times he doesn't. Also, I've noticed that this will sometimes happen, then immediately rerun the script and the behavior stops.
View 1 Replies
View Related
Oct 3, 2010
I need to add a comment to /etc/passwd using usermod, but everytime I do it tells me that I can't modify a user in the LDAP database without DN. What is DN?
View 7 Replies
View Related
Jun 21, 2010
I have a script:
Quote:
# Call mail script to send an email
if [ -f /tmp/report.txt ]; then
/usr/local/scripts/mail.pl
sleep 10
rm /tmp/report.txt
else
exit
fi
What I need to do is, I want to check if file exists, if file exists call other script (mail.pl) and then delete the file (assuming mail.pl script executed). If file not exists just exit out of the script. I'm not sure how I can see that other script execution completed or not before I delete the file even though I put sleep command. And also it seems like its not that good, even though it is working. I wanted to see if we can write in more efficient way.
View 4 Replies
View Related
Aug 21, 2010
well, gonna straight-explain what I`ve here: had a Win7 64bit installed machine and created a D drive as I was intended to install Suse there (so it`s `Extended`) after succesfully installed SLED and finally restarted the laptop to see use Win7 again there was no Loader for me to choose which Operation System (I have another machine with XP,Ubuntu and Pardus - never had sucha problem)then I had to chose SLED of course but this time it didn`t bring me to the login page but to the Command Line of SLED, and the thing is that I can`t use command line on linux. tried several times and with failsafe login but stıll having command line and there is no Win7 to run on Loader.
View 9 Replies
View Related
Mar 2, 2010
I have installed opensuse on VirutalBox , during installation I said "yes" to autologin as normal user.After installation and restart , it shows follwing message "Logging in Laks ...Cannot enter home directory . using /"I can login as single user by passing "single " in grub.
View 9 Replies
View Related
Mar 31, 2010
I am using SLES10 and i checked with command crontab -l and when i compared it with the cron.d/daily/monthly/hourly , all they are different. is there any single command that list out all the cronjobs that exist under the system.
View 3 Replies
View Related
Dec 17, 2010
i tried to install java jdk, and vlc, but to my surprise everytime i wanted to install a single application, a massive 500MB update appeared along with the 2 applications i wanted to install, then i tried the command line to just install one program, and got rep. errors, and several .lock errors at the command line. after hours of googling i gave up , this distro was recommended because of great laptop support, but it's a hell of trying to install a single program, with fedora i just did su -c 'yum install vim' , or ubuntu sudo apt-get install vim or slackware: installpkg vim.tgz , but opensuse was so bloated whenever i wanted to install a program or two. it is a royal pain to install anything in opensuse how do you guys deal with dependency hell in opensuse?
View 2 Replies
View Related
Aug 8, 2010
I use vncviewer command line to remote access my pc from my notebook.
Is there any option to resize the view like windows client can by percentage?
my notebook screen size is 1280x800, while I use bigger resolution for my pc 1280x1024 if not mistaken.
already look here: http://linux.die.net/man/1/vncviewer but I don't see any option to do that.
View 9 Replies
View Related
May 29, 2011
Just trying to execute cd command in a .cshrc file (bash shell in SUSE Linux) it says."No such file or directory".Do you see any reasons for this
View 3 Replies
View Related
Sep 7, 2010
i ran into a problem when i installed mplayer on suse 11.1 from source, it works just fine BUT it has no GUI.When i try to use the command "gmplayer", it returns 'bash: gmplayer: command not found
View 3 Replies
View Related