Do you guys know any good free application for Mac OS X, that could store ideas, code snippets, files, etc?
A kind of an organizer for information, files, etc?
thanks.
How can I make cp -r copy absolutely all of the files and directories in a directory
Requirements:
Include hidden files and hidden directories.
Be one single command with an flag to include the above.
Not need to rely on pattern matching at all.
My ugly, but working, hack is:
cp -r /etc/skel/* /home/user
cp -r /etc/skel/.[^.]* /home/user
How can I do this all in one command without the pattern matching?
What flag do I need to use?
For some reason(Happened before I started working on this project)- my client's website has 2 duplicates of every single file. Effectively tripling the size of the site.
The files look much like this:
wp-comments-post.php | 3,982 bytes
wp-comments-post (john smith's conflicted copy 2012-01-12).php | 3,982 bytes
wp-comments-post (JohnSmith's conflicted copy 2012-01-14).php | 3,982 bytes
The hosting that the website is on has no access to bash or SSH.
In your opinion, what would be the easiest way to delete these duplicate files that would take the least time?
Hello,
I'm a windows user recently moved to linux. The main problem is that not all settings can be changed with GUI interfaces. I like the idea of configuration files. But the problem is figuring out which configuration files must be edited to change certain setting.
Is there any good (or best :D) material (book/article/ref sheet) which explains these things.
Possible Duplicate:
Batch-convert files for encoding or line ending
I have a bunch of text files that I'd like to convert from any given charset to UTF-8 encoding.
Are there any command line tools or Perl (or language of your choice) one liners I can use to do this en masse?
I have a directory setup as follows:
/hosted/partner1/logo.png
/hosted/partner2/logo.png
/hosted/partner3/logo.png
/hosted/partner4/logo.png
/hosted/partner5/logo.png
..etc.
I want to write a script that can COPY those files to a different location, with a different file name, like this:
/partners/partner1.png
/partners/partner2.png
/partners/partner3.png
..etc.
Any ideas? I'm not so great with shell scripting and there are a lot of files that I need to migrate to a single directory...
I'm trying to exclude a directory and some files from being copied to an ftp server but the exclude files mask is ignored.
Has anyone had any success in using it?
What am I missing here, this seems so simple yet I cant get it to work.
I have a directory with files like AGPNDRAH01.jpg
I want a directory with files like AGPNDRAH01_00.jpg
rename 's/(\w+).jpg\$1\_00.jpg$//' *
Doesnt, work. Centos linux. Makes no sense to me why this isnt working.
I inadvertently set the Registry Editor to be the default editor for *.txt files. Now when I go to change the default, "Always use this program to open these files" is grayed out. This is the case whether I right click on the file and choose "Open with...", or start with the "Set Default Programs" control panel.
Why? How can I fix this?
I had my greatest moment of incredible stupidity and deleted all hidden files of the Windows partition, most commonly known as C:\, while running Gnu/Linux. All the directories are intact.
I instantly unmounted it, and run ntfsundelete, though of the thousands entries I wonder which ones I have to recover.
So hence my question: Which files located directly under C:\ are necessary for Windows 7 to boot?
I have a file share, and I want a process which enumerates files on that share and automatically creates a 7z self-extracting exe of files over 1 month old. On a different share, I want to create a 7z self-extracting exe of directories that are over 1 month old. Any idea if there is a program which can do this? I already have
7z a -t7z -mx9 -sfx filename.exe filename.txt
Portion of it, just need more of the auto-management portion.
I have a new installation of Red5 on Ubuntu linux. We are using JW Player for clientside. We can pause and skip ahead when streaming FLV files. However when using mp4 files if you pause and then press play again it starts playback at the beginning. If I try to skip ahead it just plays from the beginning.
I have a new installation of Red5 on Ubuntu linux. We are using JW Player for clientside. We can pause and skip ahead when streaming FLV files. However when using mp4 files if you pause and then press play again it starts playback at the beginning. If I try to skip ahead it just plays from the beginning.
I have a new installation of Red5 on Ubuntu linux. We are using JW Player for clientside. We can pause and skip ahead when streaming FLV files. However when using mp4 files if you pause and then press play again it starts playback at the beginning. If I try to skip ahead it just plays from the beginning.
I have a new installation of Red5 on Ubuntu linux. We are using JW Player for clientside. We can pause and skip ahead when streaming FLV files. However when using mp4 files if you pause and then press play again it starts playback at the beginning. If I try to skip ahead it just plays from the beginning.
I just upgraded to Snow Leopard and one feature that seems to be different (from Leopard) is that setting the default "arrange by" option doesn't affect all files and folders, and only changes the currently open folder.
Is there a way to do this so these settings stay persistent for all files and folders?
So I can do this:
sftp user@server
These are the files
https://gist.github.com/438a6b82aff3064a19c9
i need to delete files older than 60 days.
Any way to automate this?
find command doesn't work.
deleting by wildcard doesn't work.
Rsync is supported. How is it done with rsync?
I know that the copy command has an option to automatically replace a file if it already exists, but I want to know if it is a way to copy the files only if they not already exist (/Y). I do not know the actual file names in the batch code, as I copy from the source using wildcards in the copy command:
copy *.zip c:\destination
The reason I want this instead of automatic overwrite is that the files are large, and to skip existing would save a lot of execution time.
My situation is this: I have a backup of a computer and I needed to get some information from it's registry files. I have the files from the registry, but cannot find a tool or anything to let me view this information, just as I would on a machine using regedit.
Any ideas? I do not want restore the computer backup - do I have any options?
My anti malware software "hitman pro" uses heuristics to highlight suspicious files. It is highlighting the following three, all within c:\windows\system32
mpcdx.ax
rlapedec.ax
rlmpcdec.ax
Hitman pro has never complained about these files before. I don't know if that's because they're newly added or newly modified.
Should I be worried?
P.S. I recently installed erightsoft's "super" program.
Hi all,
Is there any way to increase the number of vmware.log files for a given VM (Vmware Server 1.0.4, host: SLES 10)?
Problem is, that one of our VMs crashes every now and then, and I can only see the four log files vmware.log, vmware-0.log, vmware-1.log and vmware-2.log each of which contains records starting after the crash when trying to boot. So I have no information of what happened before the crash.
Thanks,
Ingo
I would appreciate if someone could help me with the following problem:
We use two SQL Server 2008 R2 databases under transactional replication: transactional publication with updatable subscriptions. because we run out of disk space we need to move the database files into a new drive. But I don't want to break the replication.
What I'm looking for are the required steps that will help me to move the files to the new drive.
Thanks
How do I convert video files for use on the AppleTV? I've tried Handbrake but it crashes on a lot of the video files I have. Any alternatives that are free? I've got an Intel Mac running Snow Leopard.
Probably AppleScript is the way to go with this - I have found scripts online that do this, but snag on oversize printable area and put files in the same folder - I need files to stay in the folder the source came from. If the script also deleted the original AppleWorks file, that would be even better, but not required.
I have tried the last script from this post:
https://discussions.apple.com/message/10127260#10127260#10127260
Any suggestions would be much appreciated.