General :: Want "xcopy /a" Behavior From Bash Or Similar?
Jul 1, 2011
As I recall in the days of DOS and routine use of command.com,the xcopy command had an option -- I think it was "/a".When xcopy processed a file, it would alter the state of the archive attribute such that multiple runs of the same command would catch whatever was missed by the previous run. A common use was to fill diskettes and similar small storage media.xcopy a group of files === rats, media fullxcopy catches more files === repeat ad libxcopy eventually catches the last remaining files
View 7 Replies
ADVERTISEMENT
Oct 10, 2010
Any script to categorize folders with similar name into one directory. For example: There are 4 directories named LinuxFedora, LinuxUbuntu, WindowsXP and Windows7. The script should be able to create two folder named Linux and Windows wheree respective directories are moved.
Next example: If there are many folder as below:
DevLys 010
DevLys 010
[code]...
View 1 Replies
View Related
Feb 19, 2010
I have script that is called from a startup init script before login. It has some different behavior than if it ran from a login script. It doesn't allow to have input characters deleted on a line and doesn't allow for the break command. It's part of Live CD, I'm going to make publicly available, so I want to boot straight to into the script.
View 1 Replies
View Related
Nov 19, 2010
Normally, on my website, files are either handled by WordPress or by me doing FTP. I'd like to copy my entire site to a new folder. I don't want to copy it down to my local drive (with wget) and then just upload it. How close is this to the line I'd need (except near midnight)
mv -r fromfolder \%todaysdate%
I've played with Unix and Linux for a few days over the years, but I'm a Windows (and DOS-prompt) guy. So, I don't know how to get to the server's command prompt on my 1and1-hosted site.
View 1 Replies
View Related
Dec 20, 2010
I would like to compare them, in terms of amplitude, length, tempo, ... Which program could basically analyse them giving an sufficient output data
View 2 Replies
View Related
Jun 5, 2009
I want to remove duplicate or multiple similar lines from multiple files. I.e. if I have four files file1.txt file2.txt file3.txt and file4.txt and would like to find and remove similar lines from all these files keeping only one line from these similar lines. I only that uniq can be used to remove similar lines from a sorted file.
View 9 Replies
View Related
Jan 1, 2010
i want to write a batch file to copy s:my documents (winxp) to q:ackupmy documents (ubuntu server)
q:ackup is a samba share on an ubuntu server
when i try to execute a simple xcopy command to copy My Docs to the server from the command line on the winxp machine, i get an error telling me "access denied" and "unable to create directory"
using the same xcopy command, i can copy other directories from the same drive (s on the winxp machine to the same backup destination (q.
i can drag and drop my documents from s: to q:. the copy completes w/o error.
from command prompt in winxp, i can create directories in the backup destination.
i don't get it. is there something special about the My Documents folder?
My Documents = 2.25 GB is that a problem?
View 3 Replies
View Related
Feb 19, 2011
I predominantly use Ubuntu at home, which means I am used to "highlight 'copies' and center click 'pastes'" (I believe this is true for all X-windows-sever machines, but I don't know). Unfortunately, that is not the behavior on the machines I use at work (I have a Mac and Win 7.). Is there an application which would let me imitate this mouse behavior for either of those OS's?
View 1 Replies
View Related
Apr 26, 2011
A rather obscure problem, clearly our understanding here is challenged! On ubuntu (10.04 & earlier) we boot our apps under a user account from /etc/rc.local which runs under root. First the boot script installs drivers and does rooty things, then we launch the executable under the "myaccount" account:
su myaccount -c startPrg.bash (Inside is the actual /mybin/myprg &; )and the program is left running (our goal of course) BUT in debian (lenny) the exit from su terminates its child, which also seems right.
Now confused..
1) How can we spin off a child from /etc/rc.local that executes under a user account, but is not terminated when the su exits?
2) Why does the script act differently on ubuntu vs. debian?
View 1 Replies
View Related
Mar 3, 2011
Is there a way to imitate OS X behavior of opening applications in Linux?
For example: Assume that I already have Firefox open. In OS X it is very easy to open that window from console (it is the default, using open -a firefox).
View 2 Replies
View Related
Jun 17, 2010
I am quite confused about the following description on fork. Could you please explain it ?The child process shall have its own copy of the parent's file descriptors. Each of the child's file descriptors shall refer to the same open file description with the corresponding file descriptor of the parent.For example, I am opening a socket and then fork. Now, does the child have a separate socket or is shares it with the parent. Does I have any impact on using it in child?
View 2 Replies
View Related
Jun 14, 2010
How do I change the screen blanking behavior on Linux virtual terminals?
For example, if I switch to a VT from X, login, and leave the system alone for 5 minutes or so, the screen will blank like a screensaver. It comes back with any keypress, like a screensaver.
Mostly I just want to change the timeout, but I'm also interested in other settings.
If it helps, one of my systems is running Ubuntu 10.04 with the stock graphics drivers. fbset shows the console using the radeondrmfb framebuffer device.
View 2 Replies
View Related
Jun 19, 2010
I am used to using US International as my keyboard layout. However, the implementation appears to differ greatly between Windows and Linux (Gnome, in my case - may well be a GTK issue since GTK behaves the same on Windows).The layout uses dead keys, for example for keys such as ', ", ^, &c. allowing easy entry of characters with diacritics. On Windows pressing a dead key and then a key that has no pair associated results in the dead key's character (when paired with space) and the character from the second key. Example: Pressing ", a yields "ä", however, pressings yields "'s", as there is no pairing for ' and s.
Now, there is a language called English which makes frequent use of exactly those two characters and since it works on Windows to just type them as usual it's muscle memory for me now. Which brings me to my problem:On Linux (and GTK on Windows), there is a pairing for ' and s (among many others), resulting in Å› (which, in turn, leads to me frequently typing "itÅ›"). So typing "it's" requires me to type ', , s at the end.There are a few other combinations I'm used to that don't work. Among those is that for non-existant pairs simply nothing is the result. Typing "I'd" results in "I". Hitting one of those keys twice results in a non-spacing diacritic which breaks my habit of typing strings by first typing both quotation marks (which now result in a non-spacing acute accent or macron).
Long story short: None of the supplied US International layouts appears to function the same as in Windows - are there any that do work identically? Or any chance to configure it that way? While it may be nice to type an s with acute accent or non-spacing diacritics, those aren't exactly common needs for me.
View 2 Replies
View Related
Jul 12, 2010
I need to run a script when i login for first time in a day. I may reboot or shutdown and then power on during the day. But i do not want the job to run during those power ups. It should run only once per day.
View 3 Replies
View Related
Jun 8, 2010
install an o.s called Backtrack4,which basically consist of tools such as metasploit,nmap etc since i am interested in knowing and improving my knowlege on such programs,BUT what stops me from installing backtrack4 is that i am bothered whether the commands that work in redhat/fedora(yum,grep,ps,etc) will work in backtrack4??Is Backtrack one of the distros of linux?
View 14 Replies
View Related
Nov 21, 2010
I have a project folder that I pass back and forth between my desktop and laptop via Samba. Both are running Debian. The folder is large. I would like to be able to change a few files in the folder on my desktop and then "update" the folder on my laptop without having to pass the entire folder back over the network.
View 3 Replies
View Related
Jun 23, 2010
I have been trying to put same type of items (rather icons) together, my concept is same like windows where I can put that by right click and--> arrange icons by --> group,So folder icons come together, pdf files come together etc etc and there is a separation between any two types of items (icons)Can I have that facility here too, I am using fedora 13, and when ever I rightclickunde arrange items --> name type size etc comesbut group by items is missing.Also here refresh option is missing, what we very much familiar in windows, I know that fedora is not windows, but I think this problem can be solved.
View 4 Replies
View Related
Feb 2, 2010
We use Netterm as terminal emulator on windows , it works fine , is there any terminal emulator have the similar function that can be run on Linux ?
View 13 Replies
View Related
Sep 24, 2010
Possible Duplicate: Torrent client for Ubuntu similar to uTorrent What is a good bittorent client for Linux? So far I used uTorrent on Windows, but recently I moved to Fedora and I saw that uTorrent doesn't support Linux.
View 5 Replies
View Related
May 28, 2011
Has Linux some mechanism to test memory online as a background job, flag bad memory as unusable and warn the user if memory is faulty? Much like running Memtest86+ on a little chunk of memory every nth minutte until all memory is tested and then repeat over.
Edit: I did not make it clear that I want such a service running in the kernel. A (peak) performance hit should be avoided by running the test in small steps and only when the system have some CPU cycles to spare
Edit2: I meant this as a Linux kernel service that scans the memory in the background. Not meant to be run in userspace but a routine in the kernel itself, perhaps in the memory manager to make sure memory are sane!
View 2 Replies
View Related
Sep 12, 2011
It's a pity that Wi-Fi is used only for network and internet connection. There's no information on a thing that can seem so simple - file transfer via Wi-Fi.I can imagine it similarly to how Bluetooth does it (or Wi-Fi spot search which is already implemented), but no, it requires complicated LAN setup.What I want is an easy cross-platform solution to transfer files via Wi-Fi.
View 1 Replies
View Related
Jul 28, 2011
Any please help me for incremental copy command similar to windows.commad for copying in windows is c: source xcopy *.* destination /s/c/d/q/yany similar command is there in linux as I m new in Linux
View 4 Replies
View Related
Oct 30, 2010
I wonder and hence ask you whether there is a difference in boot time between two systems when just one of them features grub at the boot stage.
View 7 Replies
View Related
Feb 20, 2010
i do need to create 1 user who has similar to root privileges but the username will not be root.
View 13 Replies
View Related
Jul 23, 2010
I am returning to Linux after falling of the Wagon to Microsoft land. Would like to go back to developing on a GNU collaboration package - very mutch like cobalt cube. Can anyone make a suggestion as to a package, app, or appliance. Would consider packaged hardware with software. I heard a freind mention Pogo.
Web based Email
Password protected groups w/private HTML/XML
Threaded discussions private and public
Administrative functions user administration
Perl/ CGI scripting support
[Code]...
View 1 Replies
View Related
Aug 16, 2011
I have an Ubuntu Desktop 11.04 virtual machine using VirtualBox on my Windows 7 system.
Up until now I have been doing all my development within the Ubuntu environment but unfortunately, I don't like it. I want to move back to Windows, which is much more familiar to me but I would still like to access the virtual box like a virtual server as it is already set up with Apache, PHP, Pear, Git etc...
How can I make the two work in harmony? I essentially want to be able to start the VM and connect to it as if it was a server machine somewhere on my network, without having to actually buy another machine to put on my network.
View 3 Replies
View Related
Jan 25, 2011
I am looking for a command line utility like ping that can use for checking appropriate services on a server . I do not want do any port scan . I just want to use it for checking apache , mail,ftp and other services on a server if they are running or down.
View 3 Replies
View Related
Nov 29, 2010
I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:
Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END
[code]...
View 6 Replies
View Related
Jul 17, 2010
below are the details of my system. I have bash as my current shell, some really common commands aren't working.
Do I need to do a re-installation of bash? Or how do I install a selection of bash commands which I need? (for example a subset of [URL])
Code:
root@sdptfw:~ # uname -a
Linux sdptfw.sdpt.co.za 2.4.36 #1 Tue Jul 22 13:13:24 GMT 2008 i686 i686 i386 GNU/Linux
root@sdptfw:~ # echo $SHELL$
/bin/bash$
[Code]....
View 13 Replies
View Related
Apr 22, 2011
I see on the website URl...screenshots number 5 and 6 -- what is used to to get these style of scrollbars? When I launch Opera I get a very ugly scrollbar that does not fit the look of the wm whatsoever.
View 1 Replies
View Related