Hi everyone! I have found this post (below) about how to find files on Linux, but I wanted to know if there are any other techniques that will work? Thanks in advance.
http://www.makeuseof.com/tag/3-examp...d-files-linux/
Hello Folks.
I'm searching for a easy way to rename multiple files from CLI but didn't find any easy way for me so I'm reaching out to you guys for help.
This is what I want to do (from CLII or script). I want to move files with a sequence number on the name of the files (msg0000, msg0001, msg0002 and so on) to let's say msg0066, msg0067 and so on. Each of this file name has two other files (msg0000.wav, msg0000.WAV and msg0000.txt).
The idea is to move them from one directory to another and following a sequence in the file names, is there a way I can do this pain free?
Any help on this matter will be greatly appreciates and I'm talking about over 100 files I need to move following the sequence of the receiving directory.
Thanks!
I'm trying to figure out if find could do this. I have a folder with 1000 files. I want to delete 150 files on that folder regardless of timestamp and filename. Is there a tool, command or option on find that could do this, please let me know.
Combining mtime or ctime to find is not advisable since it will not count the files or even if there are matches, I would still need to sum up the files until I reach 150 files.
Any suggestions?
Hello all,
As title says.... whats the best way of getting linux to do another command after the first one?
e.g. Say I type "find . -iname "*.dll" this displays a list of all the dlls in a folder/subdirectory. ... then i wanted to copy these files, or du them, or other commands.
The three things i am aware of is:
Pipe |
awk
xargs
Which one is the most useful/standard/best practice to use?
Thanks
Hi all,
I'm not quite a newbie having been using Linux for around a year now and think I know some of the basics at least. In the main it does what I want, some things better than they ever did on Window while some things frustratingly more awkward!
I have a load of music files that I'd like to search through and transfer some to the external sd card of my android phone. This was something that was a doddle during my Windows days but seems unbelievably difficult now. Back then I used a media player I loved, Mediamonkey, and could simply drag and drop whichever tracks I wanted, or right click and move to a device that way. Sadly this doesn't work too well with WINE though so is fine on XP through Virtualbox, apart from a lack of USB function.
I'm using Linux Mint 17.1 with a KDE desktop.
When I plug my phone into a USB port, it is recognised straight away as an android phone and I can navigate around it with no problems in Dolphin. I could look for each individual file and transfer them that way but with around 30,000 mp3s the task would take quite some time!
None of the media players I've tried so far recognise the phone or the storage on it.
I've installed Windows XP on Virtualbox and have Mediamonkey on there with all my audio files. I can't seem to get Virtualbox to recognise any USB devices so I can't transfer files that way either.
I find it annoying that, in effect, Android is a variety of Linux yet connectivity between the two is so complicated. Airdroid has been the best way that I've found but that's not an option.
I've been trying for 4 hours now and have got nowhere. If anyone can help I'd be grateful Thanks
how do i input this into the CLI?
Create two new files a.txt and b.txt, create a tarball of the two files
using kali linux on windows 7
Hello Everyone! I'm somewhat new to linux, and getting my feet wet by building my first linux server.
So what i have is an application that moves/sorts files. Another program that catalogs them.
The problem is that each app uses it's own user. So my question is if there is any way that files owned by prog1user can be read by prog2user?
I have tried doing a chmod -R 755 Directory and that has allowed the second program to see the files, but I'm guessing this has certain security risks (although I'm not so worried about the files in this directory).
Anyways I was wondering if there was a proper way to do this? OS is debian wheezy.
Cheers!
Some weeks ago I installed Linux Mint 17.1 Cinamin. Yesterday I installed 17.1 KDE. Now I have an home directory with empty set of user folders. I did find all of my files under devices 129.0 GiB Hard drive, including the old Home folder. How do I get my old files back to where I can use them?
Hi Everyone, I have multiple csv files(>100). They are rain-gauge stations files for precipitation measurement. In these files, the numbers of stations are not equal(i.e. there are missing stations). I want only the stations that are present in all the files. The files have unique station id in column #3. I want to ask if this is possible in Linux?
It may be something along: for h in *.cvs; do sed '?????' $h > rippe_$h && mv rippe_$h $h.xls ; done
Hello,
I am new to Linux images (pxe, livecd). I would like to add files to a linux image, like something under etc or var, and have the files be available on the client.
The server I am working on was already configured with a pxe image, and only 2 files are present under the pxe client folder: initrd and vmlinuz. So I am wondering if either of these files contain the dirs /etc, /var, etc..., and how I could add files to them.
To give some background, I have done the same thing in Windows. An image in Windows is typically either boot.img or install.img. You can mount either of these to a folder using the Windows SDK tool imagex.exe /mountrw <img file> 1 <mount point>. From here you can add/remove/modify any files you want. Then commit the changes with imagex.exe /unmount <mountpoint> /commit.
Can someone provide insight to the linux image creation process, which of the files (initrd, vmlinuz/vmlinux, etc...) contain what for the client boot, or something similar to the Windows Image editing process?
I know I'm asking for a range of info, but pointers to any material to help my understanding will be greatly appreciated.
Thanks,
Jon
I am running linux mint 17 and every few times I put new files on my mp3 player the files end up being corrupted,and when I connect to my windows machine it says that the mp3 player has some bad files on it. Can anyone shed some light on this problem,I use Dolphin file manager.
Thanks in advance for any help.