text large_stringlengths 242 1.17k | nl large_stringlengths 13 387 | bash large_stringlengths 1 715 | source large_stringclasses 3 values |
|---|---|---|---|
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Do a dry run of renaming file extension '.andnav' to '.tile' for all files/directories under current directory tree<|im_end|>
<|im_start|>assistant
find . -name "*.andnav" | rename -vn "s/\.andnav$/.tile/"<|im_end|> | Do a dry run of renaming file extension '.andnav' to '.tile' for all files/directories under current directory tree | find . -name "*.andnav" | rename -vn "s/\.andnav$/.tile/" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add "execute" to the permissions of all directories in the home directory tree<|im_end|>
<|im_start|>assistant
find ~ -type d -exec chmod +x {} \;<|im_end|> | Add "execute" to the permissions of all directories in the home directory tree | find ~ -type d -exec chmod +x {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add "new." to the beginning of the name of "original.filename", renaming it to "new.original.filename".<|im_end|>
<|im_start|>assistant
rename 's/(.*)$/new.$1/' original.filename<|im_end|> | Add "new." to the beginning of the name of "original.filename", renaming it to "new.original.filename". | rename 's/(.*)$/new.$1/' original.filename | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add "new." to the beginning of the name of "original.filename", renaming it to "new.original.filename".<|im_end|>
<|im_start|>assistant
rename 's/^/new./' original.filename<|im_end|> | Add "new." to the beginning of the name of "original.filename", renaming it to "new.original.filename". | rename 's/^/new./' original.filename | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add "prefix" to every non-blank line in "file.txt"<|im_end|>
<|im_start|>assistant
nl -s prefix file.txt | cut -c7-<|im_end|> | Add "prefix" to every non-blank line in "file.txt" | nl -s prefix file.txt | cut -c7- | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add '.avi' extension to all files/directories with '.mkv' extension under '/volume1/uploads' directory tree<|im_end|>
<|im_start|>assistant
find /volume1/uploads -name "*.mkv" -exec mv \{\} \{\}.avi \;<|im_end|> | Add '.avi' extension to all files/directories with '.mkv' extension under '/volume1/uploads' directory tree | find /volume1/uploads -name "*.mkv" -exec mv \{\} \{\}.avi \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add a cron job to existing list, without removing existing ones, ro tun "scripty.sh" at 2:01 am, 3rd day of april (4th month), if that day happens to be a friday (5th day of the week starting with sunday=0).<|im_end|>
<|im_start|>assistant
cat <(crontab -l) <(echo "1 2 3 4 5 scripty.sh") | crontab -<|im_end|> | Add a cron job to existing list, without removing existing ones, ro tun "scripty.sh" at 2:01 am, 3rd day of april (4th month), if that day happens to be a friday (5th day of the week starting with sunday=0). | cat <(crontab -l) <(echo "1 2 3 4 5 scripty.sh") | crontab - | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add a date time stamp to every line of output in "ping google.com"<|im_end|>
<|im_start|>assistant
ping google.com | xargs -L 1 -I '{}' date '+%c: {}'<|im_end|> | Add a date time stamp to every line of output in "ping google.com" | ping google.com | xargs -L 1 -I '{}' date '+%c: {}' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add a line number to every line in "infile"<|im_end|>
<|im_start|>assistant
nl -ba infile<|im_end|> | Add a line number to every line in "infile" | nl -ba infile | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add a line number to every line in "long-file"<|im_end|>
<|im_start|>assistant
nl -ba long-file \<|im_end|> | Add a line number to every line in "long-file" | nl -ba long-file \ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add a number prefix followed by ')' to each line in "$string"<|im_end|>
<|im_start|>assistant
echo "$string" | nl -ba -s') '<|im_end|> | Add a number prefix followed by ')' to each line in "$string" | echo "$string" | nl -ba -s') ' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add content of "filename" to the existing cron jobs of user "user", without removing the previously existing cron jobs.<|im_end|>
<|im_start|>assistant
crontab -l -u user | cat - filename | crontab -u user -<|im_end|> | Add content of "filename" to the existing cron jobs of user "user", without removing the previously existing cron jobs. | crontab -l -u user | cat - filename | crontab -u user - | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add cron lists from "file1" and "file2" to list of cron jobs, giving errors for any lines that cannot be parsed by crontab.<|im_end|>
<|im_start|>assistant
cat file1 file2 | crontab<|im_end|> | Add cron lists from "file1" and "file2" to list of cron jobs, giving errors for any lines that cannot be parsed by crontab. | cat file1 file2 | crontab | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add the execute and read permission for all and the write permission for the user to the dir_data directory and all of its sub-directories.<|im_end|>
<|im_start|>assistant
find ~/dir_data -type d -exec chmod a+xr,u+w {} \;<|im_end|> | Add the execute and read permission for all and the write permission for the user to the dir_data directory and all of its sub-directories. | find ~/dir_data -type d -exec chmod a+xr,u+w {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add execute permission to "ComputeDate", "col", and "printdirections" for all users<|im_end|>
<|im_start|>assistant
chmod a+x ComputeDate col printdirections<|im_end|> | Add execute permission to "ComputeDate", "col", and "printdirections" for all users | chmod a+x ComputeDate col printdirections | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add executable permission to "java_ee_sdk-6u2-jdk-linux-x64.sh"<|im_end|>
<|im_start|>assistant
sudo chmod +x java_ee_sdk-6u2-jdk-linux-x64.sh<|im_end|> | Add executable permission to "java_ee_sdk-6u2-jdk-linux-x64.sh" | sudo chmod +x java_ee_sdk-6u2-jdk-linux-x64.sh | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add execute permission to all files ending in ".sh"<|im_end|>
<|im_start|>assistant
chmod +x *.sh<|im_end|> | Add execute permission to all files ending in ".sh" | chmod +x *.sh | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add group write permission to all files and directories in the current directory including hidden files and excluding ".."<|im_end|>
<|im_start|>assistant
chmod g+w $(ls -1a | grep -v '^..$')<|im_end|> | Add group write permission to all files and directories in the current directory including hidden files and excluding ".." | chmod g+w $(ls -1a | grep -v '^..$') | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add group write permission to all files and directories in the current directory including hidden files and excluding ".."<|im_end|>
<|im_start|>assistant
chmod g+w .[^.]* ..?*<|im_end|> | Add group write permission to all files and directories in the current directory including hidden files and excluding ".." | chmod g+w .[^.]* ..?* | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add group write permission to all files in the current directory<|im_end|>
<|im_start|>assistant
find . -maxdepth 0 -type f -exec chmod g+w {} ';'<|im_end|> | Add group write permission to all files in the current directory | find . -maxdepth 0 -type f -exec chmod g+w {} ';' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add group write permission to all files matching "*" or "...*"<|im_end|>
<|im_start|>assistant
chmod g+w * ...*<|im_end|> | Add group write permission to all files matching "*" or "...*" | chmod g+w * ...* | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add line numbers to each non-blank line in "file" starting with number 1000001<|im_end|>
<|im_start|>assistant
nl -v1000001 file<|im_end|> | Add line numbers to each non-blank line in "file" starting with number 1000001 | nl -v1000001 file | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add prefix like number and "^M${LOGFILE}> " to every non-blank line received on standard input<|im_end|>
<|im_start|>assistant
nl -s"^M${LOGFILE}> "<|im_end|> | Add prefix like number and "^M${LOGFILE}> " to every non-blank line received on standard input | nl -s"^M${LOGFILE}> " | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add read and execute permission to command "node"<|im_end|>
<|im_start|>assistant
sudo chmod +rx $(which node)<|im_end|> | Add read and execute permission to command "node" | sudo chmod +rx $(which node) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add read and execute permission to every directory under the current directory<|im_end|>
<|im_start|>assistant
find . -type d -exec chmod +rx {} \;<|im_end|> | Add read and execute permission to every directory under the current directory | find . -type d -exec chmod +rx {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add read permission for 'other' for all files/directories named 'rc.conf' under current directory tree<|im_end|>
<|im_start|>assistant
find . -name "rc.conf" -exec chmod o+r '{}' \;<|im_end|> | Add read permission for 'other' for all files/directories named 'rc.conf' under current directory tree | find . -name "rc.conf" -exec chmod o+r '{}' \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
add read permission to others for the files in the current folder having the name "rc.conf" in their name.<|im_end|>
<|im_start|>assistant
find . -name "*rc.conf" -exec chmod o+r '{}' \;<|im_end|> | add read permission to others for the files in the current folder having the name "rc.conf" in their name. | find . -name "*rc.conf" -exec chmod o+r '{}' \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Add variable TESTVAR with value "bbb" to a temporary environment, and search for TESTVAR in all variables and their values in the resulting environment.<|im_end|>
<|im_start|>assistant
TESTVAR=bbb env | fgrep TESTVAR<|im_end|> | Add variable TESTVAR with value "bbb" to a temporary environment, and search for TESTVAR in all variables and their values in the resulting environment. | TESTVAR=bbb env | fgrep TESTVAR | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Adjust the timestamp of 'filename' by subtracting 2 hours from it.<|im_end|>
<|im_start|>assistant
touch -d "$(date -r filename) - 2 hours" filename<|im_end|> | Adjust the timestamp of 'filename' by subtracting 2 hours from it. | touch -d "$(date -r filename) - 2 hours" filename | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Adjust the timestamp of file $filename by subtracting 2 hours from it<|im_end|>
<|im_start|>assistant
touch -d "$(date -r "$filename") - 2 hours" "$filename"<|im_end|> | Adjust the timestamp of file $filename by subtracting 2 hours from it | touch -d "$(date -r "$filename") - 2 hours" "$filename" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
all .jpg or .png images modified in the past week<|im_end|>
<|im_start|>assistant
find . -mtime -7 \( '*.jpg' -o -name '*.png' \)<|im_end|> | all .jpg or .png images modified in the past week | find . -mtime -7 \( '*.jpg' -o -name '*.png' \) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
all the files that end with .mp3 and end with .jpg<|im_end|>
<|im_start|>assistant
find . -name '*.mp3' -name '*.jpg' -print<|im_end|> | all the files that end with .mp3 and end with .jpg | find . -name '*.mp3' -name '*.jpg' -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Allow all users to execute "myscript.sh"<|im_end|>
<|im_start|>assistant
chmod a+x myscript.sh<|im_end|> | Allow all users to execute "myscript.sh" | chmod a+x myscript.sh | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Allow all users to execute '$pathToShell"myShell.sh"'<|im_end|>
<|im_start|>assistant
chmod a+x $pathToShell"myShell.sh"<|im_end|> | Allow all users to execute '$pathToShell"myShell.sh"' | chmod a+x $pathToShell"myShell.sh" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Allow anyone to run command "Xvfb" as the owner of "Xvfb"<|im_end|>
<|im_start|>assistant
sudo chmod u+s `which Xvfb`<|im_end|> | Allow anyone to run command "Xvfb" as the owner of "Xvfb" | sudo chmod u+s `which Xvfb` | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Answer "y" to all prompts of "rm -rf foo"<|im_end|>
<|im_start|>assistant
yes | rm -ri foo<|im_end|> | Answer "y" to all prompts of "rm -rf foo" | yes | rm -ri foo | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Answer "y" to any prompts in the interactive recursive removal of "dir1", "dir2", and "dir3"<|im_end|>
<|im_start|>assistant
yes y | rm -ir dir1 dir2 dir3<|im_end|> | Answer "y" to any prompts in the interactive recursive removal of "dir1", "dir2", and "dir3" | yes y | rm -ir dir1 dir2 dir3 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append ".txt" to all filenames in the current directory tree<|im_end|>
<|im_start|>assistant
find -type f | xargs -I {} mv {} {}.txt<|im_end|> | Append ".txt" to all filenames in the current directory tree | find -type f | xargs -I {} mv {} {}.txt | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append *.java files from the current directory tree to tar archive `myfile.tar'<|im_end|>
<|im_start|>assistant
find . -type f -name "*.java" | xargs tar rvf myfile.tar<|im_end|> | Append *.java files from the current directory tree to tar archive `myfile.tar' | find . -type f -name "*.java" | xargs tar rvf myfile.tar | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append all *.mp3 files modified within the last 180 days to tar archive `music.tar'<|im_end|>
<|im_start|>assistant
find . -name -type f '*.mp3' -mtime -180 -print0 | xargs -0 tar rvf music.tar<|im_end|> | Append all *.mp3 files modified within the last 180 days to tar archive `music.tar' | find . -name -type f '*.mp3' -mtime -180 -print0 | xargs -0 tar rvf music.tar | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append all PNG and JPG files to tar archive 'images.tar'<|im_end|>
<|im_start|>assistant
find . \( -iname "*.png" -o -iname "*.jpg" \) -print -exec tar -rf images.tar {} \;<|im_end|> | Append all PNG and JPG files to tar archive 'images.tar' | find . \( -iname "*.png" -o -iname "*.jpg" \) -print -exec tar -rf images.tar {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append all regular files modified in the last 24 hours to the "$archive.tar" tar archive<|im_end|>
<|im_start|>assistant
find . -mtime -1 -type f -exec tar rvf "$archive.tar" '{}' \;<|im_end|> | Append all regular files modified in the last 24 hours to the "$archive.tar" tar archive | find . -mtime -1 -type f -exec tar rvf "$archive.tar" '{}' \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append all regular files modified in the last 24 hours to the "$archive.tar" tar archive<|im_end|>
<|im_start|>assistant
find . -mtime -1 -type f -print0 | xargs -0 tar rvf "$archive.tar"<|im_end|> | Append all regular files modified in the last 24 hours to the "$archive.tar" tar archive | find . -mtime -1 -type f -print0 | xargs -0 tar rvf "$archive.tar" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append the contents of ".cwdhist" file to the current in-memory history list<|im_end|>
<|im_start|>assistant
history -r .cwdhist<|im_end|> | Append the contents of ".cwdhist" file to the current in-memory history list | history -r .cwdhist | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append the contents of "file.txt" to the current in-memory history list<|im_end|>
<|im_start|>assistant
history -r file.txt<|im_end|> | Append the contents of "file.txt" to the current in-memory history list | history -r file.txt | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append the current date in '%Y%m%d_%H%M' format with the basename of $0 and save it to variable 'LOGNAME'<|im_end|>
<|im_start|>assistant
LOGNAME="`basename "$0"`_`date "+%Y%m%d_%H%M"`"<|im_end|> | Append the current date in '%Y%m%d_%H%M' format with the basename of $0 and save it to variable 'LOGNAME' | LOGNAME="`basename "$0"`_`date "+%Y%m%d_%H%M"`" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append the current date in '%d%m%Y-%H-%M' format, '_' and the current username, then save it in 'name' variable<|im_end|>
<|im_start|>assistant
name="$(date +'%d%m%Y-%H-%M')_$(whoami)"<|im_end|> | Append the current date in '%d%m%Y-%H-%M' format, '_' and the current username, then save it in 'name' variable | name="$(date +'%d%m%Y-%H-%M')_$(whoami)" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append the date and command ran to "/tmp/trace" after every command<|im_end|>
<|im_start|>assistant
PROMPT_COMMAND='echo "$(date +"%Y/%m/%d (%H:%M)") $(history 1 |cut -c 7-)" >> /tmp/trace'<|im_end|> | Append the date and command ran to "/tmp/trace" after every command | PROMPT_COMMAND='echo "$(date +"%Y/%m/%d (%H:%M)") $(history 1 |cut -c 7-)" >> /tmp/trace' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Append history lines from this session to the history list<|im_end|>
<|im_start|>assistant
history -a<|im_end|> | Append history lines from this session to the history list | history -a | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "./dir" to "user@host:/path" via ssh on port 2222 and display progress<|im_end|>
<|im_start|>assistant
rsync -rvz -e 'ssh -p 2222' --progress ./dir user@host:/path<|im_end|> | Archive "./dir" to "user@host:/path" via ssh on port 2222 and display progress | rsync -rvz -e 'ssh -p 2222' --progress ./dir user@host:/path | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "./htmlguide" to "~/src/" with resolved symbolic links and delete any extraneous files from "~/src/" not found in "./htmlguide"<|im_end|>
<|im_start|>assistant
rsync -av --copy-dirlinks --delete ../htmlguide ~/src/<|im_end|> | Archive "./htmlguide" to "~/src/" with resolved symbolic links and delete any extraneous files from "~/src/" not found in "./htmlguide" | rsync -av --copy-dirlinks --delete ../htmlguide ~/src/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/home/abc/*" to "/mnt/windowsabc" with human readable output<|im_end|>
<|im_start|>assistant
rsync -avh /home/abc/* /mnt/windowsabc<|im_end|> | Archive "/home/abc/*" to "/mnt/windowsabc" with human readable output | rsync -avh /home/abc/* /mnt/windowsabc | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/home/path" to "path" on host "server" showing progress and statistics and remove files in the destination not found in the source<|im_end|>
<|im_start|>assistant
rsync -a --stats --progress --delete /home/path server:path<|im_end|> | Archive "/home/path" to "path" on host "server" showing progress and statistics and remove files in the destination not found in the source | rsync -a --stats --progress --delete /home/path server:path | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/home/user1" to "wobgalaxy02:/home/user1" excluding hidden files<|im_end|>
<|im_start|>assistant
rsync -av /home/user1 wobgalaxy02:/home/user1<|im_end|> | Archive "/home/user1" to "wobgalaxy02:/home/user1" excluding hidden files | rsync -av /home/user1 wobgalaxy02:/home/user1 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/local/path/some_file" to "/some/path" on host "server.com" authenticating as user "usr", compress data during transmission, show progress details.<|im_end|>
<|im_start|>assistant
rsync -avz --progress local/path/some_file usr@server.com:"/some/path/"<|im_end|> | Archive "/local/path/some_file" to "/some/path" on host "server.com" authenticating as user "usr", compress data during transmission, show progress details. | rsync -avz --progress local/path/some_file usr@server.com:"/some/path/" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/media/10001/music/" on host "server" to local directory "/media/incoming/music/" and skip files that are newer in the destination, delete any files in the destination not in the source, and compress data during transmission<|im_end|>
<|im_start|>assistant
rsync -avzru --delete-excluded server:/media/10001/music/ /media/Incoming/music/<|im_end|> | Archive "/media/10001/music/" on host "server" to local directory "/media/incoming/music/" and skip files that are newer in the destination, delete any files in the destination not in the source, and compress data during transmission | rsync -avzru --delete-excluded server:/media/10001/music/ /media/Incoming/music/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/my/dir" on host "server" as user "user" to the current local directory excluding files ending in ".svn"<|im_end|>
<|im_start|>assistant
rsync -av --exclude '*.svn' user@server:/my/dir .<|im_end|> | Archive "/my/dir" on host "server" as user "user" to the current local directory excluding files ending in ".svn" | rsync -av --exclude '*.svn' user@server:/my/dir . | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/path/to/application.ini" on host "source_host" to current directory.<|im_end|>
<|im_start|>assistant
rsync -avv source_host:path/to/application.ini ./application.ini<|im_end|> | Archive "/path/to/application.ini" on host "source_host" to current directory. | rsync -avv source_host:path/to/application.ini ./application.ini | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/path/to/copy" to "/path/to/local/storage" on host "host.remoted.from" as user "user" updating files with different checksums, showing human readable progress and statistics, and compressing data during transmission<|im_end|>
<|im_start|>assistant
rsync -chavzP --stats /path/to/copy user@host.remoted.from:/path/to/local/storage<|im_end|> | Archive "/path/to/copy" to "/path/to/local/storage" on host "host.remoted.from" as user "user" updating files with different checksums, showing human readable progress and statistics, and compressing data during transmission | rsync -chavzP --stats /path/to/copy user@host.remoted.from:/path/to/local/storage | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/path/to/files" to "/path" on host "user@targethost" with elevated permission on the remote host<|im_end|>
<|im_start|>assistant
rsync -av --rsync-path="sudo rsync" /path/to/files user@targethost:/path<|im_end|> | Archive "/path/to/files" to "/path" on host "user@targethost" with elevated permission on the remote host | rsync -av --rsync-path="sudo rsync" /path/to/files user@targethost:/path | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/path/to/files" to "user@targethost:/path"<|im_end|>
<|im_start|>assistant
rsync -av /path/to/files user@targethost:/path<|im_end|> | Archive "/path/to/files" to "user@targethost:/path" | rsync -av /path/to/files user@targethost:/path | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/path/to/files/source" to "user@remoteip:/path/to/files/destination" via ssh on port 2121<|im_end|>
<|im_start|>assistant
rsync -azP -e "ssh -p 2121" /path/to/files/source user@remoteip:/path/to/files/destination<|im_end|> | Archive "/path/to/files/source" to "user@remoteip:/path/to/files/destination" via ssh on port 2121 | rsync -azP -e "ssh -p 2121" /path/to/files/source user@remoteip:/path/to/files/destination | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/path/to/sfolder" to "name@remote.server:/path/to/remote/dfolder" preserving hard links and compressing the data during transmission<|im_end|>
<|im_start|>assistant
rsync -aHvz /path/to/sfolder name@remote.server:/path/to/remote/dfolder<|im_end|> | Archive "/path/to/sfolder" to "name@remote.server:/path/to/remote/dfolder" preserving hard links and compressing the data during transmission | rsync -aHvz /path/to/sfolder name@remote.server:/path/to/remote/dfolder | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/path/to/sfolder/" to "name@remote.server:/path/to/remote/dfolder" preserving hard links and compressing the data during transmission<|im_end|>
<|im_start|>assistant
rsync -aHvz /path/to/sfolder/ name@remote.server:/path/to/remote/dfolder<|im_end|> | Archive "/path/to/sfolder/" to "name@remote.server:/path/to/remote/dfolder" preserving hard links and compressing the data during transmission | rsync -aHvz /path/to/sfolder/ name@remote.server:/path/to/remote/dfolder | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/source" and all files under "folder/" to "/dstfolder/" on host "remoteserver" as user "user" without copying files that already exist<|im_end|>
<|im_start|>assistant
rsync -avz --ignore-existing /source folder/* user@remoteserver:/dstfolder/<|im_end|> | Archive "/source" and all files under "folder/" to "/dstfolder/" on host "remoteserver" as user "user" without copying files that already exist | rsync -avz --ignore-existing /source folder/* user@remoteserver:/dstfolder/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/source/backup" to "/destination" with compression during transfer<|im_end|>
<|im_start|>assistant
rsync -ravz /source/backup /destination<|im_end|> | Archive "/source/backup" to "/destination" with compression during transfer | rsync -ravz /source/backup /destination | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/top/a/b/c/d" to host "remote" using relative path names<|im_end|>
<|im_start|>assistant
rsync -a --relative /top/a/b/c/d remote:/<|im_end|> | Archive "/top/a/b/c/d" to host "remote" using relative path names | rsync -a --relative /top/a/b/c/d remote:/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/usr/local/" to "/BackUp/usr/local/" on host "XXX.XXX.XXX.XXX" via ssh and show progress<|im_end|>
<|im_start|>assistant
rsync --progress -avhe ssh /usr/local/ XXX.XXX.XXX.XXX:/BackUp/usr/local/<|im_end|> | Archive "/usr/local/" to "/BackUp/usr/local/" on host "XXX.XXX.XXX.XXX" via ssh and show progress | rsync --progress -avhe ssh /usr/local/ XXX.XXX.XXX.XXX:/BackUp/usr/local/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "/var/www/test/" to "/var/www/test" on host "231.210.24.48" as user "ubuntu" via ssh using identity file "/home/test/pkey_new.pem"<|im_end|>
<|im_start|>assistant
rsync -rave "ssh -i /home/test/pkey_new.pem" /var/www/test/ ubuntu@231.210.24.48:/var/www/test<|im_end|> | Archive "/var/www/test/" to "/var/www/test" on host "231.210.24.48" as user "ubuntu" via ssh using identity file "/home/test/pkey_new.pem" | rsync -rave "ssh -i /home/test/pkey_new.pem" /var/www/test/ ubuntu@231.210.24.48:/var/www/test | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "_vim/" to "~/.vim" suppressing non-error messages and compressing data during transmission<|im_end|>
<|im_start|>assistant
rsync -aqz _vim/ ~/.vim<|im_end|> | Archive "_vim/" to "~/.vim" suppressing non-error messages and compressing data during transmission | rsync -aqz _vim/ ~/.vim | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "blanktest/" to "test/" deleting any files in the destination not found in the source<|im_end|>
<|im_start|>assistant
rsync -a --delete blanktest/ test/<|im_end|> | Archive "blanktest/" to "test/" deleting any files in the destination not found in the source | rsync -a --delete blanktest/ test/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "directory" preserving hard links from host "remote" to the current local directory and keep partial files, handle sparse files efficiently, and itemize changes made<|im_end|>
<|im_start|>assistant
rsync -aPSHiv remote:directory .<|im_end|> | Archive "directory" preserving hard links from host "remote" to the current local directory and keep partial files, handle sparse files efficiently, and itemize changes made | rsync -aPSHiv remote:directory . | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "fileToCopy" to "/some/nonExisting/dirToCopyTO" on host "ssh.myhost.net" via ssh<|im_end|>
<|im_start|>assistant
rsync -ave ssh fileToCopy ssh.myhost.net:/some/nonExisting/dirToCopyTO<|im_end|> | Archive "fileToCopy" to "/some/nonExisting/dirToCopyTO" on host "ssh.myhost.net" via ssh | rsync -ave ssh fileToCopy ssh.myhost.net:/some/nonExisting/dirToCopyTO | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "path/subfolder" to "path", skipping files that are newer at the destination.<|im_end|>
<|im_start|>assistant
rsync -vuar --delete-after path/subfolder/ path/<|im_end|> | Archive "path/subfolder" to "path", skipping files that are newer at the destination. | rsync -vuar --delete-after path/subfolder/ path/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "path/to/working/copy" to "path/to/export" excluding files or directories named ".svn"<|im_end|>
<|im_start|>assistant
rsync -a --exclude .svn path/to/working/copy path/to/export<|im_end|> | Archive "path/to/working/copy" to "path/to/export" excluding files or directories named ".svn" | rsync -a --exclude .svn path/to/working/copy path/to/export | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "somedir/./foo/bar/baz.c" to "remote:/tmp/" preserving the relative path of "foo/bar/baz.c"<|im_end|>
<|im_start|>assistant
rsync -avR somedir/./foo/bar/baz.c remote:/tmp/<|im_end|> | Archive "somedir/./foo/bar/baz.c" to "remote:/tmp/" preserving the relative path of "foo/bar/baz.c" | rsync -avR somedir/./foo/bar/baz.c remote:/tmp/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "source" to "destination" via ssh on port "PORT_NUMBER"<|im_end|>
<|im_start|>assistant
rsync -azP -e "ssh -p PORT_NUMBER" source destination<|im_end|> | Archive "source" to "destination" via ssh on port "PORT_NUMBER" | rsync -azP -e "ssh -p PORT_NUMBER" source destination | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "src" to "dst" updating files existing in "dst"<|im_end|>
<|im_start|>assistant
rsync -a -v src dst<|im_end|> | Archive "src" to "dst" updating files existing in "dst" | rsync -a -v src dst | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "src" to "dst" without overwriting existing files in "dst"<|im_end|>
<|im_start|>assistant
rsync -a -v --ignore-existing src dst<|im_end|> | Archive "src" to "dst" without overwriting existing files in "dst" | rsync -a -v --ignore-existing src dst | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive "src-dir" to "dest-dir" on "remote-user@remote-host" and delete any files in "dest-dir" not found in "src-dir"<|im_end|>
<|im_start|>assistant
rsync -av --delete src-dir remote-user@remote-host:dest-dir<|im_end|> | Archive "src-dir" to "dest-dir" on "remote-user@remote-host" and delete any files in "dest-dir" not found in "src-dir" | rsync -av --delete src-dir remote-user@remote-host:dest-dir | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all ".txt" files in the current directory to "/path/to/dest" keeping partially transferred files<|im_end|>
<|im_start|>assistant
rsync -aP --include=*/ --include=*.txt --exclude=* . /path/to/dest<|im_end|> | Archive all ".txt" files in the current directory to "/path/to/dest" keeping partially transferred files | rsync -aP --include=*/ --include=*.txt --exclude=* . /path/to/dest | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all *.xml files under current directory tree to xml.tar excluding the files that match '/workspace/' in their paths<|im_end|>
<|im_start|>assistant
find . -name \*.xml | grep -v /workspace/ | tr '\n' '\0' | xargs -0 tar -cf xml.tar<|im_end|> | Archive all *.xml files under current directory tree to xml.tar excluding the files that match '/workspace/' in their paths | find . -name \*.xml | grep -v /workspace/ | tr '\n' '\0' | xargs -0 tar -cf xml.tar | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all *html files using tar.<|im_end|>
<|im_start|>assistant
find . -type f -name "*html" | xargs tar cvf htmlfiles.tar -<|im_end|> | Archive all *html files using tar. | find . -type f -name "*html" | xargs tar cvf htmlfiles.tar - | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension<|im_end|>
<|im_start|>assistant
find /path/to/directory/* -maxdepth 0 -type d -printf "%P\n" -exec sudo tar -zcpvf {}.tar.gz {} \;<|im_end|> | Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension | find /path/to/directory/* -maxdepth 0 -type d -printf "%P\n" -exec sudo tar -zcpvf {}.tar.gz {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension transforming the full paths to relative paths<|im_end|>
<|im_start|>assistant
find /path/* -maxdepth 0 -type d -exec sudo tar -zcpvf {}.tar.gz {} \;<|im_end|> | Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension transforming the full paths to relative paths | find /path/* -maxdepth 0 -type d -exec sudo tar -zcpvf {}.tar.gz {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
archive all files in a current directory modified in the last 30 days<|im_end|>
<|im_start|>assistant
tar czvf mytarfile.tgz `find . -mtime -30`<|im_end|> | archive all files in a current directory modified in the last 30 days | tar czvf mytarfile.tgz `find . -mtime -30` | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all filepattern-*2009* files/directories under data/ into 2009.tar<|im_end|>
<|im_start|>assistant
find data/ -name 'filepattern-*2009*' -exec tar uf 2009.tar '{}' +<|im_end|> | Archive all filepattern-*2009* files/directories under data/ into 2009.tar | find data/ -name 'filepattern-*2009*' -exec tar uf 2009.tar '{}' + | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all filepattern-*2009* files/directories under data/ into 2009.tar<|im_end|>
<|im_start|>assistant
find data/ -name filepattern-*2009* -exec tar uf 2009.tar {} ;<|im_end|> | Archive all filepattern-*2009* files/directories under data/ into 2009.tar | find data/ -name filepattern-*2009* -exec tar uf 2009.tar {} ; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive all filepattern-*2009* files/directories under data/ into 2009.tar<|im_end|>
<|im_start|>assistant
find data/ -name filepattern-*2009* -print0 | xargs -0 tar uf 2009.tar<|im_end|> | Archive all filepattern-*2009* files/directories under data/ into 2009.tar | find data/ -name filepattern-*2009* -print0 | xargs -0 tar uf 2009.tar | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive any files changed in the last day from "remote_host" to "local_dir"<|im_end|>
<|im_start|>assistant
rsync -av remote_host:'$(find logs -type f -ctime -1)' local_dir<|im_end|> | Archive any files changed in the last day from "remote_host" to "local_dir" | rsync -av remote_host:'$(find logs -type f -ctime -1)' local_dir | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive current directory to "/some/path" on localhost, using ssh to authentify as user "me", only update files that are newer in the source directory.<|im_end|>
<|im_start|>assistant
rsync -auve "ssh -p 2222" . me@localhost:/some/path<|im_end|> | Archive current directory to "/some/path" on localhost, using ssh to authentify as user "me", only update files that are newer in the source directory. | rsync -auve "ssh -p 2222" . me@localhost:/some/path | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive directory "." to "server2::sharename/B"<|im_end|>
<|im_start|>assistant
rsync -av . server2::sharename/B<|im_end|> | Archive directory "." to "server2::sharename/B" | rsync -av . server2::sharename/B | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive directory "/mnt/data" to "/media/WD_Disk_1/current_working_data/", deleting any extraneous files in destination, compress data during copy.<|im_end|>
<|im_start|>assistant
rsync -az --delete /mnt/data/ /media/WD_Disk_1/current_working_data/;<|im_end|> | Archive directory "/mnt/data" to "/media/WD_Disk_1/current_working_data/", deleting any extraneous files in destination, compress data during copy. | rsync -az --delete /mnt/data/ /media/WD_Disk_1/current_working_data/; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive directory "symdir" to "symdir_output" preserving symbolic links.<|im_end|>
<|im_start|>assistant
rsync symdir/ symdir_output/ -a --copy-links -v<|im_end|> | Archive directory "symdir" to "symdir_output" preserving symbolic links. | rsync symdir/ symdir_output/ -a --copy-links -v | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive the entire file system into tarfile.tar.bz2<|im_end|>
<|im_start|>assistant
find / -print0 | xargs -0 tar cjf tarfile.tar.bz2<|im_end|> | Archive the entire file system into tarfile.tar.bz2 | find / -print0 | xargs -0 tar cjf tarfile.tar.bz2 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive file 'file' with bzip2 tool, store compressed data to a file 'logfile' and also print to screen<|im_end|>
<|im_start|>assistant
bzip2 -c file | tee -a logfile<|im_end|> | Archive file 'file' with bzip2 tool, store compressed data to a file 'logfile' and also print to screen | bzip2 -c file | tee -a logfile | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive files in "/mnt/source-tmp" to "/media/destination"<|im_end|>
<|im_start|>assistant
rsync -a /mnt/source-tmp /media/destination/<|im_end|> | Archive files in "/mnt/source-tmp" to "/media/destination" | rsync -a /mnt/source-tmp /media/destination/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive files (not directories) in "sorce_dir" to "target_dir"<|im_end|>
<|im_start|>assistant
rsync -a --filter="-! */" sorce_dir/ target_dir/<|im_end|> | Archive files (not directories) in "sorce_dir" to "target_dir" | rsync -a --filter="-! */" sorce_dir/ target_dir/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive the list of 1st level subdirectories in /fss/fin to /fss/fi/outfile.tar.gz<|im_end|>
<|im_start|>assistant
tar -czf /fss/fi/outfile.tar.gz `find /fss/fin -d 1 -type d -name "*" -print`<|im_end|> | Archive the list of 1st level subdirectories in /fss/fin to /fss/fi/outfile.tar.gz | tar -czf /fss/fi/outfile.tar.gz `find /fss/fin -d 1 -type d -name "*" -print` | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Archive showing progress "sourcefolder" to "/destinationfolder" excluding "thefoldertoexclude"<|im_end|>
<|im_start|>assistant
rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude<|im_end|> | Archive showing progress "sourcefolder" to "/destinationfolder" excluding "thefoldertoexclude" | rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.